Changeset 10163 in josm


Ignore:
Timestamp:
2016-04-28T23:05:27+02:00 (4 years ago)
Author:
Don-vip
Message:

fix #12779 - anonymize user name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java

    r10158 r10163  
    202202        final String userHomeDir = System.getProperty("user.home");
    203203        final String userHomeDirAlt = Main.isPlatformWindows() ? "%UserProfile%" : "${HOME}";
     204        final String userName = System.getProperty("user.name");
     205        final String userNameAlt = "<user.name>";
    204206
    205207        String val = param;
     
    211213        val = paramReplace(val, userCacheDir, userCacheDirAlt);
    212214        val = paramReplace(val, userHomeDir, userHomeDirAlt);
     215        val = paramReplace(val, userName, userNameAlt);
    213216        return val;
    214217    }
Note: See TracChangeset for help on using the changeset viewer.