diff options
Diffstat (limited to 'base/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java')
| -rw-r--r-- | base/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java b/base/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java index 3855f8f..c720cbf 100644 --- a/base/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java +++ b/base/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java @@ -38,19 +38,19 @@ public class ComponentDescriptionFileParser { * Parse a component description from a stream. * * @param inputSource - * The stream to parse from. + * The stream to parse from. * * @return The description parsed from the stream. */ public static ComponentDescription fromStream(final InputStream inputSource) { - if (inputSource == null) { + if(inputSource == null) { throw new NullPointerException("Input source must not be null"); } ComponentDescriptionState state = new ComponentDescriptionState(); /* * This is valid, because the thing that is returned is the same - * reference we passed in. + * reference we passed in. */ reader.fromStream(inputSource, state); |
