Skip to content
Permalink
Browse files

clear dep-ann warnings

  • Loading branch information...
bobjacobsen committed Sep 22, 2018
1 parent cec9e12 commit 7783aad4582af7f54edca51775c0d68b24b691ee
@@ -51,7 +51,7 @@
-warn:-paramAssign
-warn:-unnecessaryElse

-warn:-dep-ann
-warn:+dep-ann
-warn:+deprecation
-warn:-allDeprecation

@@ -51,7 +51,7 @@
-warn:-paramAssign
-warn:-unnecessaryElse

-warn:-dep-ann
-warn:+dep-ann
-warn:-deprecation
-warn:-allDeprecation

@@ -676,6 +676,7 @@ static public void setConfigureManager(ConfigureManager p) {
* @deprecated Since 4.11.4, use
* {@link #store(java.lang.Object, java.lang.Class)} directly.
*/
@Deprecated
static public void setConsistManager(ConsistManager p) {
store(p, ConsistManager.class);
}
@@ -1211,6 +1211,7 @@ public void setRouteNotBusy() {
* @deprecated Since 4.3.6; will become protected in the future.
*/
// Mark protected instead of public when removing
@Deprecated
public boolean isRouteBusy() {
return busy;
}
@@ -48,6 +48,7 @@ public boolean status() {
/**
* @deprecated JMRI Since 4.9.5 instance() shouldn't be used, convert to JMRI multi-system support structure
*/
@Deprecated
static public NetworkDriverAdapter instance() {
log.error("Unexpected call to instance()");
return null;
@@ -161,6 +161,7 @@ public boolean status() {
/**
* @deprecated JMRI Since 4.9.5 instance() shouldn't be used, convert to JMRI multi-system support structure
*/
@Deprecated
static public SerialDriverAdapter instance() {
return null;
}
@@ -32,6 +32,7 @@
* Create XNet sensor using fixed connection prefix
* @deprecated JMRI Since 4.9.5
*/
@Deprecated
public XNetSensor(String systemName, String userName, XNetTrafficController controller) {
super(systemName, userName);
tc = controller;
@@ -66,6 +66,7 @@
* {@link LocoNetMessage#toMonitorString()}
* for each individual LocoNet message instead of creating a formatter.
*/
@Deprecated
public class Llnmon {

/**
@@ -208,6 +208,7 @@ public void configureBaudRate(String rate) {
/**
* @deprecated JMRI Since 4.11.5 instance() shouldn't be used, convert to JMRI multi-system support structure
*/
@Deprecated
static public SerialDriverAdapter instance() {
return null;
}
@@ -124,6 +124,7 @@ public static Preferences getPreferences(@Nullable final Profile project, @Nulla
* non-existent package or class.
*/
@Nonnull
@Deprecated
public static Preferences getPreferences(@Nullable final Profile project, @Nullable final String pkg, final boolean shared) {
if (project != null) {
return findProvider(project.getPath(), shared).getPreferences(pkg);
@@ -150,6 +151,7 @@ public static Preferences getPreferences(@Nullable final Profile project, @Nulla
* is preferred and recommended unless being used to during the construction
* of a Profile object.
*/
@Deprecated
public static Preferences getPreferences(@Nullable final File path, @Nullable final Class<?> clazz, final boolean shared) {
return findProvider(path, shared).getPreferences(clazz);
}

0 comments on commit 7783aad

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