Changeset 3674 in josm for trunk/src/org/openstreetmap/josm/tools/Utils.java
- Timestamp:
- 2010-11-25T18:06:50+01:00 (15 years ago)
- File:
-
- 1 edited
-
trunk/src/org/openstreetmap/josm/tools/Utils.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r3504 r3674 11 11 return false; 12 12 } 13 14 /** 15 * Get minimum of 3 values 16 */ 17 public static int min(int a, int b, int c) { 18 if (b < c) { 19 if (a < b) 20 return a; 21 return b; 22 } else { 23 if (a < c) { 24 return a; 25 } 26 return c; 27 } 28 } 13 29 }
Note:
See TracChangeset
for help on using the changeset viewer.
