static String _userHome; static String userHome() { if (_userHome == null) ret actualUserHome(); ret _userHome; } static File userHome(S path) { ret new File(userDir(), path); }
download show line numbers debug dex old transpilations
Travelled to 21 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, nazvggbglmsf, odhhsrjjbcgr, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
ID | Author/Program | Comment | Date |
---|---|---|---|
172 | #1000604 (pitcher) | 2015-08-18 00:49:43 | |
163 | #1000610 (pitcher) | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { static String _userHome; static String userHome() { if (_userHome == null) { /*if (android) _userHome = ((File) call(androidContext, "getFilesDir")).getAbsolutePath(); else*/ _userHome = System.getProperty("user.home"); //System.out.println("userHome: " + _userHome); } return _userHome; } }} | 2015-08-18 00:49:25 |
Snippet ID: | #1000569 |
Snippet name: | userHome (TODO: is this ok for Android?) |
Eternal ID of this version: | #1000569/2 |
Text MD5: | f2f9ebb4a9a07fe82453eeee22563569 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-10 15:28:49 |
Source code size: | 197 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 1136 / 8643 |
Version history: | 1 change(s) |
Referenced in: | [show references] |