Changeset 10188 for trunk/gsdl3/src


Ignore:
Timestamp:
2005-06-28T12:59:32+12:00 (19 years ago)
Author:
kjdon
Message:

ooops, had committed isMac() twice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/util/Misc.java

    r10186 r10188  
    7171    }
    7272
    73     public static boolean isMac() {
    74     Properties props = System.getProperties();
    75     String os_name = props.getProperty("os.name","");
    76     if(os_name.startsWith("Mac OS")) {
    77         return true;
    78     }
    79     return false;
    80     }
    81 
    8273    public static BufferedReader makeHttpConnection(String url_string)
    8374    throws java.net.MalformedURLException, java.io.IOException {
Note: See TracChangeset for help on using the changeset viewer.