From 6ad9775d6c742f46df9182f85f6c21f56b0f5bb1 Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Mon, 23 May 2022 14:19:05 -0600
Subject: [PATCH] Format

---
 .../nshmp/calc/GroundMotionToCurveLambda.java | 76 +++++++++----------
 1 file changed, 38 insertions(+), 38 deletions(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/calc/GroundMotionToCurveLambda.java b/src/main/java/gov/usgs/earthquake/nshmp/calc/GroundMotionToCurveLambda.java
index 55e37298..d97fe7e8 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/calc/GroundMotionToCurveLambda.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/calc/GroundMotionToCurveLambda.java
@@ -74,44 +74,6 @@ public class GroundMotionToCurveLambda implements RequestStreamHandler {
     writer.close();
   }
 
-  /**
-   * Single hazard curve from Lambda function.
-   *
-   * @see GroundMotionToCurveLambda#groundMotionsToCurvesHandler
-   */
-  static class HazardCurve {
-    private final Imt imt;
-    private final Gmm gmm;
-    private final XySequence curve;
-
-    private HazardCurve(Imt imt, Gmm gmm, XySequence curve) {
-      this.imt = imt;
-      this.gmm = gmm;
-      this.curve = curve;
-    }
-
-    /**
-     * Returns the Imt associated with the hazard curve.
-     */
-    Imt imt() {
-      return imt;
-    }
-
-    /**
-     * Returns the Gmm associated with the hazard curve.
-     */
-    Gmm gmm() {
-      return gmm;
-    }
-
-    /**
-     * Returns the curve for a specific Imt and Gmm.
-     */
-    XySequence curve() {
-      return curve;
-    }
-  }
-
   /**
    * Wrapper class for Lambda input.
    */
@@ -213,4 +175,42 @@ public class GroundMotionToCurveLambda implements RequestStreamHandler {
       }
     }
   }
+
+  /**
+   * Single hazard curve returned from the Lambda function.
+   *
+   * @see GroundMotionToCurveLambda#groundMotionsToCurvesHandler
+   */
+  static class HazardCurve {
+    private final Imt imt;
+    private final Gmm gmm;
+    private final XySequence curve;
+
+    private HazardCurve(Imt imt, Gmm gmm, XySequence curve) {
+      this.imt = imt;
+      this.gmm = gmm;
+      this.curve = curve;
+    }
+
+    /**
+     * Returns the Imt associated with the hazard curve.
+     */
+    Imt imt() {
+      return imt;
+    }
+
+    /**
+     * Returns the Gmm associated with the hazard curve.
+     */
+    Gmm gmm() {
+      return gmm;
+    }
+
+    /**
+     * Returns the curve for a specific Imt and Gmm.
+     */
+    XySequence curve() {
+      return curve;
+    }
+  }
 }
-- 
GitLab