Ignore:
Timestamp:
02/07/14 17:11:39 (10 years ago)
Author:
pharms
Message:
  • added support for id replacements
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/eventcore/HTMLEventTypeFactory.java

    r1276 r1354  
    163163        String xCoord = eventParameters.get(xParamName); 
    164164        if (xCoord == null) { 
    165             Console.printerrln("eventParameters do not contain " + xParamName + " coordinate."); 
     165            Console.traceln(Level.WARNING, 
     166                            "eventParameters do not contain " + xParamName + " coordinate."); 
    166167            xCoord = "0"; 
    167168        } 
     
    169170        String yCoord = eventParameters.get(yParamName); 
    170171        if (yCoord == null) { 
    171             Console.printerrln("eventParameters do not contain " + yParamName + " coordinate."); 
     172            Console.traceln(Level.WARNING, 
     173                            "eventParameters do not contain " + yParamName + " coordinate."); 
    172174            yCoord = "0"; 
    173175        } 
     
    179181        catch (NumberFormatException e) { 
    180182            throw new IllegalArgumentException("the coordinates provided by an " + eventName + 
    181                 " event are no numbers"); 
     183                                               " event are no numbers"); 
    182184        } 
    183185    } 
Note: See TracChangeset for help on using the changeset viewer.