Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* Encapsulates a list of {@link DeviceData} instances which can be returned
* by the 51Degrees cloud service when certain evidence is provided (e.g. TAC)
*/
public class MultiDeviceDataCloud
public final class MultiDeviceDataCloud
extends AspectDataBase
implements MultiProfileData<DeviceData> {
private static final String DEVICE_LIST_KEY = "profiles";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(CollectionConfigSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(ComponentMetaDataCollectionSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(ComponentMetaDataSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(ConfigBaseSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected static long getCPtr(ConfigDeviceDetectionSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected static long getCPtr(ConfigHashSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(Date obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(EngineBaseSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected static long getCPtr(EngineDeviceDetectionSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected static long getCPtr(EngineHashSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ protected static long getCPtr(Iterator obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(MetaDataSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(ProfileMetaDataCollectionSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(ProfileMetaDataSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(PropertyMetaDataCollectionSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(PropertyMetaDataSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(RequiredPropertiesConfigSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(ValueMetaDataCollectionSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(ValueMetaDataKeySwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected static long getCPtr(ValueMetaDataSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}

@SuppressWarnings("deprecation")
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public void close() {
this.delete();
}

@SuppressWarnings("this-escape")
public VectorStringSwig(String[] initialElements) {
this();
reserve(initialElements.length);
Expand All @@ -45,6 +46,7 @@ public VectorStringSwig(String[] initialElements) {
}
}

@SuppressWarnings("this-escape")
public VectorStringSwig(Iterable<String> initialElements) {
this();
for (String element : initialElements) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>-Xlint:all,-try,-options</arg>
<!-- <arg>-Werror</arg>-->
<arg>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>
Expand Down
Loading