Révision 2844
tmp/org.txm.rcp/src/main/java/org/txm/rcp/p2/plugins/TXMUpdateHandler.java (revision 2844) | ||
---|---|---|
188 | 188 |
|
189 | 189 |
try |
190 | 190 |
{ |
191 |
preferences.put("foo", "bar"); // SecurityException on Windows
|
|
192 |
preferences.remove("foo");
|
|
191 |
preferences.put("TxmAdminAccessTestProperty", "TxmAdminAccessTestValue"); // SecurityException on Windows
|
|
192 |
preferences.remove("TxmAdminAccessTestProperty");
|
|
193 | 193 |
preferences.flush(); // BackingStoreException on Linux |
194 | 194 |
return true; |
195 | 195 |
} catch (Exception exception) |
Formats disponibles : Unified diff