Skip to content

Commit

Permalink
Fixed missing iterator for boardPreferences.
Browse files Browse the repository at this point in the history
Former-commit-id: 5f18958
  • Loading branch information
ricklon committed Mar 27, 2011
1 parent 4df1607 commit fb4ed64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/processing/app/debug/Compiler.java
Expand Up @@ -134,7 +134,7 @@ public boolean compile(Sketch sketch, String buildPath,String primaryClassName,
this.objectFiles = new ArrayList<File>();

//Put all the global preference configuration into one Master configpreferences
configPreferences = mergePreferences( Preferences.getMap(), platformPreferences, this.boardPreferences);
configPreferences = mergePreferences( Preferences.getMap(), platformPreferences, Base.getBoardPreferences());

// 0. include paths for core + all libraries
this.includePaths = new ArrayList();
Expand Down Expand Up @@ -765,8 +765,8 @@ HashMap mergePreferences(Map Preferences, Map platformPreferences, Map boardPre
}

System.out.println("Done: platformPreferences");
boardPreferences.entrySet().iterator();
iterator = boardPreferences.entrySet().iterator();

while(iterator.hasNext())
{
Map.Entry pair = (Map.Entry)iterator.next();
Expand All @@ -779,7 +779,7 @@ HashMap mergePreferences(Map Preferences, Map platformPreferences, Map boardPre
{
_map.put(pair.getKey(), pair.getValue());
}
System.out.println(pair.getKey() + " = " + pair.getValue());
//System.out.println(pair.getKey() + " = " + pair.getValue());
}
System.out.println("Done: boardPreferences");

Expand Down

0 comments on commit fb4ed64

Please sign in to comment.