PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Want more features on Pastebin?
Sign Up
, it's FREE!
Public Pastes
Untitled
1 sec ago
Lars Leonhard
2 sec ago
Untitled
3 sec ago
Untitled
PL/SQL | 5 sec ago
Untitled
24 sec ago
Untitled
HTML 5 | 22 sec ago
Untitled
16 sec ago
Untitled
JSON | 20 sec ago
Untitled
By: a guest on
Feb 2nd, 2011
| syntax:
None
| size: 0.28 KB | views:
123
| expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
File legacyHome = new File(new File(System.getProperty("user.home")), ".hudson");
if (legacyHome.exists())
return legacyHome; // before rename, this is where it was stored
return new File(new File(System.getProperty("user.home")), ".jenkins");
clone
this paste
RAW Paste Data
File legacyHome = new File(new File(System.getProperty("user.home")), ".hudson"); if (legacyHome.exists()) return legacyHome; // before rename, this is where it was stored return new File(new File(System.getProperty("user.home")), ".jenkins");