Skip to content

Commit

Permalink
Guard against a particular file malformation that could cause odd beh…
Browse files Browse the repository at this point in the history
…avior
  • Loading branch information
ESIC-DA committed Aug 5, 2019
1 parent 2ed6141 commit e88b934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<property name="build.numThreads" value="1" />
<property name="src.dir" value="./src"/>
<property name="lib.dir" value="./deps/org.graphstream/lib"/>
<property name="build.version" value="AHA-GUI v0.6.8b111"/>
<property name="build.version" value="AHA-GUI v0.6.8b113"/>
<property name="CP" value="."/>
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd HH:mm" />
Expand Down
2 changes: 1 addition & 1 deletion src/esic/AHAModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ private void readInputFile()

if (m_graph.getNode(toNode)==null ) //TODO: fix this, right now some pipes will try to put their remote ends on new ext nodes
{
if (proto.equals("pipe")) { System.err.println("Skipping line due to bug with pipe hadling. To be fixed at a later date."); }
if (proto.equals("pipe")) { System.err.println("Skipping line due to bug with pipe hadling. To be fixed at a later date."); continue; }
if (toNode.equals("UnknownToNodeError")) { System.err.println("Unknown error creating node, bailing. FromNode="+fromNode); continue;}
System.err.println("WARNING: toNode="+toNode+" DID NOT EXIST, CREATING.");
AHANode extNode=m_graph.addNode(toNode);
Expand Down

0 comments on commit e88b934

Please sign in to comment.