- Timestamp:
 - 2013-09-11T00:48:32+02:00 (12 years ago)
 - Location:
 - trunk/src/org/openstreetmap/josm
 - Files:
 - 
      
- 3 edited
 
- 
          
  data/osm/TigerUtils.java (modified) (1 diff)
 - 
          
  gui/preferences/projection/CodeProjectionChoice.java (modified) (2 diffs)
 - 
          
  gui/tagging/TaggingPresetItems.java (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/org/openstreetmap/josm/data/osm/TigerUtils.java
r5569 r6231 28 28 public static Object tagObj(String name) { 29 29 if (tagIsInt(name)) 30 return newInteger(name);30 return Integer.valueOf(name); 31 31 return name; 32 32 }  - 
      
trunk/src/org/openstreetmap/josm/gui/preferences/projection/CodeProjectionChoice.java
r5886 r6231 36 36 String code; 37 37 38 /** 39 * Constructs a new {@code CodeProjectionChoice}. 40 */ 38 41 public CodeProjectionChoice() { 39 42 super(tr("By Code (EPSG)"), "core:code"); … … 76 79 int num1 = Integer.parseInt(matcher1.group(2)); 77 80 int num2 = Integer.parseInt(matcher2.group(2)); 78 return newInteger(num1).compareTo(num2);81 return Integer.valueOf(num1).compareTo(num2); 79 82 } else 80 83 return -1;  - 
      
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java
r6221 r6231 551 551 initAutoCompletionField(textField, key); 552 552 if (length != null && !length.isEmpty()) { 553 textField.setMaxChars( newInteger(length));553 textField.setMaxChars(Integer.valueOf(length)); 554 554 } 555 555 if (usage.unused()){ … … 724 724 @Override 725 725 boolean addToPanel(JPanel p, Collection<OsmPrimitive> sel) { 726 Integer cols = newInteger(columns);726 Integer cols = Integer.valueOf(columns); 727 727 int rows = (int) Math.ceil(checks.size()/cols.doubleValue()); 728 728 JPanel panel = new JPanel(new GridLayout(rows, cols)); … … 1163 1163 initAutoCompletionField(tf, key); 1164 1164 if (length != null && !length.isEmpty()) { 1165 tf.setMaxChars( newInteger(length));1165 tf.setMaxChars(Integer.valueOf(length)); 1166 1166 } 1167 1167 AutoCompletionList acList = tf.getAutoCompletionList();  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  