Skip to content
Permalink
Browse files

remove deprecated items

  • Loading branch information...
bobjacobsen committed Sep 19, 2018
1 parent 9cfd4b5 commit b2435f6b005454c08311cf930538f5d71f0b0536
@@ -913,21 +913,6 @@ public void dispose() {
}
}

/**
* Store the roster in the default place, including making a backup if
* needed.
* <p>
* Uses writeFile(String), a protected method that can write to a specific
* location.
*
* @deprecated Since 4.0 Use Roster.getDefault().writeRoster() instead
* @see #writeRoster()
*/
@Deprecated
public static void writeRosterFile() {
Roster.getDefault().writeRoster();
}

/**
* Store the roster in the default place, including making a backup if
* needed.
@@ -1125,18 +1110,6 @@ public static String getRosterGroupProperty(String name) {
return ROSTER_GROUP_PREFIX + name;
}

/**
* Returns the constant used to denote a roster group as a
* {@link jmri.jmrit.roster.RosterEntry} attribute.
*
* @return the value of {@link #ROSTER_GROUP_PREFIX}
* @deprecated since 3.11.7 use {@link #ROSTER_GROUP_PREFIX} instead.
*/
@Deprecated
public String getRosterGroupPrefix() {
return ROSTER_GROUP_PREFIX;
}

/**
* Add a roster group, notifying all listeners of the change.
*
@@ -72,17 +72,6 @@ public ProgrammerConfigPane() {
}
JComboBox<String> programmerBox;

/**
* This constructor does nothing different than the default constructor.
*
* @param include ignored
* @deprecated since 3.9.5
*/
@Deprecated
public ProgrammerConfigPane(boolean include) {
this();
}

@CheckForNull
public String getSelectedItem() {
return (String) programmerBox.getSelectedItem();
@@ -14,26 +14,6 @@
*/
public abstract class LnTrafficController implements LocoNetInterface {

/**
* Get the LnTrafficController instance to use.
*
* @return The registered LnTrafficController instance for general use, if
* need be creating one.
* @deprecated 2.13.4 - does not work with multi-system support, needs to have other classes migrated and then be removed
*/
@Deprecated
static public LnTrafficController instance() {
return null;
}

@SuppressFBWarnings(value = "MS_PKGPROTECT")
// SpotBugs wants this package protected, but we're removing it when multi-connection
// migration is complete
/**
* @deprecated 2.13.4
*/
static protected LnTrafficController self = null;

/**
* Reference to the system connection memo.
*/
@@ -88,22 +88,6 @@ public ProfileManager(File catalog) {
}
}

/**
* Get the default {@link ProfileManager}.
* <p>
* The default ProfileManager needs to be loaded before the InstanceManager
* since user interaction with the ProfileManager may change how the
* InstanceManager is configured.
*
* @return the default ProfileManager.
* @deprecated since 3.11.8. Use {@link #getDefault()} instead.
*/
@Deprecated
@Nonnull
public static ProfileManager defaultManager() {
return ProfileManager.getDefault();
}

/**
* Get the default {@link ProfileManager}.
* <p>

0 comments on commit b2435f6

Please sign in to comment.
You can’t perform that action at this time.