diff --git a/src/_VisualDVM/GlobalProperties.java b/src/_VisualDVM/GlobalProperties.java index 7318a67b..c4cf7b35 100644 --- a/src/_VisualDVM/GlobalProperties.java +++ b/src/_VisualDVM/GlobalProperties.java @@ -262,26 +262,6 @@ public class GlobalProperties { } } //----------------- - public boolean getFlag(String fieldName) { - boolean field = false; - try { - field = (boolean) getClass().getField(fieldName).get(this); - // - } catch (Exception ex) { - ex.printStackTrace(); - } - return field; - } - public void switchFlag(String fieldName) { - boolean field = false; - try { - field = (boolean) getClass().getField(fieldName).get(this); - getClass().getField(fieldName).set(this, !field); - // - } catch (Exception ex) { - ex.printStackTrace(); - } - } public void Update() { try { Utils_.jsonToFile(this, getFile());