From 889fac2bdf993dc86f64a8893c0260fdcf848acb Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Mon, 10 Apr 2017 16:40:33 -0400 Subject: Cleanup --- .../java/bjc/utils/components/ComponentDescriptionFileParser.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/components/ComponentDescriptionFileParser.java') 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(); } -- cgit v1.2.3