summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java
diff options
context:
space:
mode:
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java b/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java
index 5f98ce9..f7ddaff 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java
@@ -40,10 +40,11 @@ public class ComponentDescriptionFileParser {
* The stream to parse from
* @return The description parsed from the stream
*/
- public static ComponentDescription fromStream(InputStream inputSource) {
- if(inputSource == null) throw new NullPointerException("Input source must not be null");
+ public static ComponentDescription fromStream(final InputStream inputSource) {
+ if (inputSource == null) throw new NullPointerException("Input source must not be null");
- ComponentDescriptionState readState = reader.fromStream(inputSource, new ComponentDescriptionState());
+ final ComponentDescriptionState readState = reader.fromStream(inputSource,
+ new ComponentDescriptionState());
return readState.toDescription();
}