< prev index next >
application/tests/org.openjdk.jmc.rjmx.test/src/test/java/org/openjdk/jmc/rjmx/test/subscription/internal/DummyConnectionHandle.java
Print this page
@@ -58,12 +58,12 @@
* If you get this, you need to call createServiceOrNull() instead and handle the null
* case. (And yes, we want to check this before attempting to create a service. Ideally,
* we would like to check this at compile time, but there was no way to do that yet. JSR
* 308 and the Checker Framework should change that.)
*/
- throw new IllegalArgumentException("Will not be able to create dummy implementations of " //$NON-NLS-1$
- + serviceInterface.getName() + " since the service is not an interface"); //$NON-NLS-1$
+ throw new IllegalArgumentException("Will not be able to create dummy implementations of "
+ + serviceInterface.getName() + " since the service is not an interface");
}
T service = getServiceOrNull(serviceInterface);
if (service == null) {
service = ServiceFactoryManager.createDummyService(serviceInterface, null);
}
@@ -117,11 +117,11 @@
return true;
}
@Override
public String getDescription() {
- return "Dummy"; //$NON-NLS-1$
+ return "Dummy";
}
@Override
public void close() {
< prev index next >