Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2017-01-14 16:10:27 +0000
committerEike Stepper2017-01-14 16:10:27 +0000
commit88245d5053ffc6ca28603688bf449e3e98f6163c (patch)
tree239123b109461c575804d79f01d4d242ba7f6e07
parent226fddd44f9b402b4c2330ce32c469cdc71a61dd (diff)
downloadcdo-88245d5053ffc6ca28603688bf449e3e98f6163c.tar.gz
cdo-88245d5053ffc6ca28603688bf449e3e98f6163c.tar.xz
cdo-88245d5053ffc6ca28603688bf449e3e98f6163c.zip
[Releng] Fix new @SuppressWarning info markers
-rw-r--r--plugins/org.eclipse.emf.cdo.ecore.retrofit/src/org/eclipse/emf/ecore/impl/MinimalEStoreEObjectImpl.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/SessionManager.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryPluginDropAdapter.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryTransferDragListener.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/FolderCDOWorkspaceBase.java2
-rw-r--r--plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/dnd/DNDTransfer.java1
-rw-r--r--plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/security/AuthenticationIndication.java1
7 files changed, 0 insertions, 9 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ecore.retrofit/src/org/eclipse/emf/ecore/impl/MinimalEStoreEObjectImpl.java b/plugins/org.eclipse.emf.cdo.ecore.retrofit/src/org/eclipse/emf/ecore/impl/MinimalEStoreEObjectImpl.java
index acd960cf48..5779227c55 100644
--- a/plugins/org.eclipse.emf.cdo.ecore.retrofit/src/org/eclipse/emf/ecore/impl/MinimalEStoreEObjectImpl.java
+++ b/plugins/org.eclipse.emf.cdo.ecore.retrofit/src/org/eclipse/emf/ecore/impl/MinimalEStoreEObjectImpl.java
@@ -32,7 +32,6 @@ import org.eclipse.emf.ecore.util.FeatureMapUtil;
*
* @since 2.9
*/
-@SuppressWarnings("javadoc")
public abstract class MinimalEStoreEObjectImpl extends MinimalEObjectImpl {
private static final EObservableAdapterList.Listener ADAPTERS_LISTENER = new EObservableAdapterList.Listener() {
public void added(Notifier notifier, Adapter adapter) {
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/SessionManager.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/SessionManager.java
index a6c46ab580..c9bc214cd3 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/SessionManager.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/SessionManager.java
@@ -513,7 +513,6 @@ public class SessionManager extends Container<ISession> implements InternalSessi
ByteArrayInputStream bais = new ByteArrayInputStream(authenticationServer.handleResponse(response));
- @SuppressWarnings("resource")
ExtendedDataInputStream stream = new ExtendedDataInputStream(bais);
String userID = stream.readString();
char[] password = stream.readString().toCharArray();
@@ -575,7 +574,6 @@ public class SessionManager extends Container<ISession> implements InternalSessi
}
ByteArrayInputStream baos = new ByteArrayInputStream(authenticationServer.handleResponse(response));
- @SuppressWarnings("resource")
ExtendedDataInputStream stream = new ExtendedDataInputStream(baos);
if (operation == CredentialsUpdateOperation.RESET_PASSWORD)
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryPluginDropAdapter.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryPluginDropAdapter.java
index 7ed201f277..d2621d5921 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryPluginDropAdapter.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryPluginDropAdapter.java
@@ -105,7 +105,6 @@ public class RepositoryPluginDropAdapter implements IDropActionDelegate
try
{
ByteArrayInputStream bais = new ByteArrayInputStream((byte[])source);
- @SuppressWarnings("resource")
ExtendedDataInputStream in = new ExtendedDataInputStream(bais);
int viewID = in.readInt();
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryTransferDragListener.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryTransferDragListener.java
index 4cabc7cb03..fb891a2e76 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryTransferDragListener.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/transfer/RepositoryTransferDragListener.java
@@ -71,7 +71,6 @@ public class RepositoryTransferDragListener extends DragSourceAdapter
try
{
ByteArrayOutputStream baos = new ByteArrayOutputStream();
- @SuppressWarnings("resource")
ExtendedDataOutputStream out = new ExtendedDataOutputStream(baos);
CDOView view = null;
diff --git a/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/FolderCDOWorkspaceBase.java b/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/FolderCDOWorkspaceBase.java
index 916f4a1b35..3492eb3a04 100644
--- a/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/FolderCDOWorkspaceBase.java
+++ b/plugins/org.eclipse.emf.cdo.workspace/src/org/eclipse/emf/cdo/internal/workspace/FolderCDOWorkspaceBase.java
@@ -203,8 +203,6 @@ public class FolderCDOWorkspaceBase extends AbstractCDOWorkspaceBase
try
{
fileReader = new FileReader(addedAndDetachedFile);
-
- @SuppressWarnings("resource")
BufferedReader lineReader = new BufferedReader(fileReader);
String line;
diff --git a/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/dnd/DNDTransfer.java b/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/dnd/DNDTransfer.java
index d7c4ecf4d9..d848081d60 100644
--- a/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/dnd/DNDTransfer.java
+++ b/plugins/org.eclipse.net4j.util.ui/src/org/eclipse/net4j/util/ui/dnd/DNDTransfer.java
@@ -74,7 +74,6 @@ public abstract class DNDTransfer<TYPE> extends ByteArrayTransfer
}
}
- @SuppressWarnings("resource")
@Override
protected Object nativeToJava(TransferData transferData)
{
diff --git a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/security/AuthenticationIndication.java b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/security/AuthenticationIndication.java
index b8974d3dff..b14599b587 100644
--- a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/security/AuthenticationIndication.java
+++ b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/security/AuthenticationIndication.java
@@ -106,7 +106,6 @@ public class AuthenticationIndication extends IndicationWithMonitoring
String password = new String(credentials.getPassword());
ByteArrayOutputStream baos = new ByteArrayOutputStream();
- @SuppressWarnings("resource")
ExtendedDataOutputStream stream = new ExtendedDataOutputStream(baos);
stream.writeString(userID);
stream.writeString(password);

Back to the top