Changeset 74e7539 for apps/addressbook


Ignore:
Timestamp:
Sep 9, 2012 3:40:14 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
2f98d05
Parents:
9bc54f2
Message:
  • SystemVersion?: New util, to consolidate duplicate code, and determine Java version on Android
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/net/i2p/addressbook/ConfigParser.java

    r9bc54f2 r74e7539  
    3838import net.i2p.util.SecureFile;
    3939import net.i2p.util.SecureFileOutputStream;
     40import net.i2p.util.SystemVersion;
    4041
    4142/**
     
    5051class ConfigParser {
    5152
    52     private static final boolean isWindows = System.getProperty("os.name").startsWith("Win");
     53    private static final boolean isWindows = SystemVersion.isWindows();
    5354
    5455    /**
Note: See TracChangeset for help on using the changeset viewer.