1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Warnings cleanup.

This commit is contained in:
Pawel Piech 2010-02-11 23:31:29 +00:00
parent 9d403c3d87
commit fd02b90e42
3 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ abstract public class AbstractDsfService
private DsfServicesTracker fTracker;
/** Properties that this service was registered with */
@SuppressWarnings("unchecked")
@SuppressWarnings("rawtypes")
private Dictionary fProperties;
/** Properties that this service was registered with */
@ -74,7 +74,7 @@ abstract public class AbstractDsfService
*
* @see org.eclipse.cdt.dsf.service.IDsfService#getProperties()
*/
@SuppressWarnings("unchecked")
@SuppressWarnings("rawtypes")
public Dictionary getProperties() { return fProperties; }
public String getServiceFilter() { return fFilter; }
@ -135,7 +135,7 @@ abstract public class AbstractDsfService
* (we modify the caller's object), to record the id of the dsf
* session associated with the service.
*/
@SuppressWarnings("unchecked")
@SuppressWarnings({ "rawtypes", "unchecked" })
protected void register(String[] classes, Dictionary properties) {
/*
@ -212,7 +212,7 @@ abstract public class AbstractDsfService
/**
* Generates an LDAP filter to uniquely identify this service.
*/
@SuppressWarnings("unchecked")
@SuppressWarnings({ "rawtypes" })
private String generateFilter(Dictionary properties) {
StringBuffer filter = new StringBuffer();
filter.append("(&"); //$NON-NLS-1$

View file

@ -163,7 +163,7 @@ public class DsfServicesTracker {
* session-ID
* @return OSGI service reference object to the desired service, null if not found
*/
@SuppressWarnings("unchecked")
@SuppressWarnings("rawtypes")
public ServiceReference getServiceReference(Class serviceClass, String filter) {
if (fDisposed) {
return null;

View file

@ -60,7 +60,7 @@ public interface IDsfService {
/**
* Returns the map of properties that this service was registered with.
*/
@SuppressWarnings("unchecked")
@SuppressWarnings("rawtypes")
public Dictionary getProperties();
/**