From ff8660c3b004c9bcafe40436d6d0ad12f86248ef Mon Sep 17 00:00:00 2001 From: Peter Powers <pmpowers@usgs.gov> Date: Fri, 7 Apr 2017 12:58:48 -0600 Subject: [PATCH] doc and format --- src/org/opensha2/HazardCalc.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/org/opensha2/HazardCalc.java b/src/org/opensha2/HazardCalc.java index 85734df9b..587d96364 100644 --- a/src/org/opensha2/HazardCalc.java +++ b/src/org/opensha2/HazardCalc.java @@ -35,8 +35,7 @@ import java.util.logging.FileHandler; import java.util.logging.Logger; /** - * Compute probabilisitic seismic hazard at a {@link Site} from a - * {@link HazardModel}. + * Compute probabilisitic seismic hazard from a {@link HazardModel}. * * @author Peter Powers */ @@ -146,8 +145,8 @@ public class HazardCalc { } return Sites.fromString(arg, defaults); } catch (Exception e) { - throw new IllegalArgumentException(NEWLINE + " sites = \"" + arg + - "\" must either be a 3 to 7 argument," + NEWLINE + + throw new IllegalArgumentException(NEWLINE + + " sites = \"" + arg + "\" must either be a 3 to 7 argument," + NEWLINE + " comma-delimited string, or specify a path to a *.csv or *.geojson file", e); } -- GitLab