diff options
author | Marko Živković <[email protected]> | 2015-02-25 22:38:26 +0000 |
---|---|---|
committer | Marko Živković <[email protected]> | 2015-02-25 22:38:26 +0000 |
commit | 04fb49904471c87eea6f4cb85d036eedcf63790e (patch) | |
tree | 4cfb2d47208344daa512d481adce35a6e100f8d1 | |
parent | 43bec1cad4d8ed554484e8c6795cf07601c12074 (diff) |
Change default username for default workspace to system.user property
git-svn-id: https://svn.code.sf.net/p/xlogo4schools/svn/trunk@25 3b0d7934-f7ef-4143-9606-b51f2e2281fd
-rw-r--r-- | logo/src/xlogo/storage/user/UserConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logo/src/xlogo/storage/user/UserConfig.java b/logo/src/xlogo/storage/user/UserConfig.java index 7906818..e0344f1 100644 --- a/logo/src/xlogo/storage/user/UserConfig.java +++ b/logo/src/xlogo/storage/user/UserConfig.java @@ -70,7 +70,7 @@ public class UserConfig implements Serializable, Observable<UserConfig.UserPrope * @see #isVirtual()
* @see #createVirtualUser()
*/
- public static final String DEFAULT_USER = "Default User";
+ public static final String DEFAULT_USER = System.getProperty("user.name");
public static final File DEFAULT_LOCATION = WorkspaceConfig.DEFAULT_DIRECTORY;
public static final File DEFAULT_DIRECTORY = new File(DEFAULT_LOCATION + File.separator + DEFAULT_USER);
|