Skip to content

Commit b8da0ad

Browse files
committed
Issue #10 - Made loadErrorMessageFile(InputStream) public.
1 parent 7a219d4 commit b8da0ad

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

org.modeldriven.alf/src/org/modeldriven/alf/execution/AlfBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
public abstract class AlfBase {
2626

27-
public static final String ALF_VERSION = "0.6.0d";
27+
public static final String ALF_VERSION = "0.6.0e";
2828

2929
protected boolean isVerbose = false;
3030

org.modeldriven.alf/src/org/modeldriven/alf/syntax/common/ConstraintViolation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ public static void loadErrorMessageFile() throws IOException {
3535
public static void loadErrorMessageFile(String path) throws IOException {
3636
if (path == null) {
3737
clearErrorMessages();
38-
} else if (path != errorMessageFileName) {
38+
} else if (!path.equals(errorMessageFileName)) {
3939
loadErrorMessageFile(Files.newInputStream(Paths.get(path)));
4040
errorMessageFileName = path;
4141
}
4242
}
4343

44-
private static void loadErrorMessageFile(InputStream inputStream) throws IOException {
44+
public static void loadErrorMessageFile(InputStream inputStream) throws IOException {
4545
BufferedReader reader = new BufferedReader(new InputStreamReader(
4646
inputStream, Charset.defaultCharset()));
4747
clearErrorMessages();

0 commit comments

Comments
 (0)