Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade com.google.guava:guava from 31.1-jre to 32.1.2-jre #162

Closed
wants to merge 1 commit into from

feat: upgrade com.google.guava:guava from 31.1-jre to 32.1.2-jre

0e05fb0
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

[Snyk] Upgrade com.google.guava:guava from 31.1-jre to 32.1.2-jre #162

feat: upgrade com.google.guava:guava from 31.1-jre to 32.1.2-jre
0e05fb0
Select commit
Loading
Failed to load commit list.
GitHub Actions / spotbugs completed Aug 25, 2023 in 0s

SpotBugs Source Code Analyzer report

174 violation(s) found

Annotations

Check warning on line 39 in src/main/java/org/fiware/mintaka/context/LdContextCache.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

new org.fiware.mintaka.context.LdContextCache(ContextProperties) may expose internal representation by storing an externally mutable object into LdContextCache.contextProperties
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 19 in src/main/java/org/fiware/mintaka/domain/TemporalValueGeoProperty.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.TemporalValueGeoProperty.getValues() may expose internal representation by returning TemporalValueGeoProperty.values
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 11 in src/main/java/org/fiware/mintaka/domain/TemporalValueGeoProperty.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

org.fiware.mintaka.domain.TemporalValueGeoProperty.setValues(List) may expose internal representation by storing an externally mutable object into TemporalValueGeoProperty.values
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 20 in src/main/java/org/fiware/mintaka/domain/TemporalValueProperty.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.TemporalValueProperty.getValues() may expose internal representation by returning TemporalValueProperty.values
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 12 in src/main/java/org/fiware/mintaka/domain/TemporalValueProperty.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

org.fiware.mintaka.domain.TemporalValueProperty.setValues(List) may expose internal representation by storing an externally mutable object into TemporalValueProperty.values
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 20 in src/main/java/org/fiware/mintaka/domain/TemporalValueRelationship.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.TemporalValueRelationship.getObjects() may expose internal representation by returning TemporalValueRelationship.objects
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 12 in src/main/java/org/fiware/mintaka/domain/TemporalValueRelationship.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

org.fiware.mintaka.domain.TemporalValueRelationship.setObjects(List) may expose internal representation by storing an externally mutable object into TemporalValueRelationship.objects
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 45 in src/main/java/org/fiware/mintaka/domain/TemporalValuesEntity.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.TemporalValuesEntity.getAdditionalProperties() may expose internal representation by returning TemporalValuesEntity.additionalProperties
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 27 in src/main/java/org/fiware/mintaka/domain/TemporalValuesEntity.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.TemporalValuesEntity.getLocation() may expose internal representation by returning TemporalValuesEntity.location
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 30 in src/main/java/org/fiware/mintaka/domain/TemporalValuesEntity.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.TemporalValuesEntity.getObservationSpace() may expose internal representation by returning TemporalValuesEntity.observationSpace
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 33 in src/main/java/org/fiware/mintaka/domain/TemporalValuesEntity.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.TemporalValuesEntity.getOperationSpace() may expose internal representation by returning TemporalValuesEntity.operationSpace
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 13 in src/main/java/org/fiware/mintaka/domain/TemporalValuesEntity.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

org.fiware.mintaka.domain.TemporalValuesEntity.setAdditionalProperties(Map) may expose internal representation by storing an externally mutable object into TemporalValuesEntity.additionalProperties
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 13 in src/main/java/org/fiware/mintaka/domain/TemporalValuesEntity.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

org.fiware.mintaka.domain.TemporalValuesEntity.setLocation(TemporalValueGeoProperty) may expose internal representation by storing an externally mutable object into TemporalValuesEntity.location
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 13 in src/main/java/org/fiware/mintaka/domain/TemporalValuesEntity.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

org.fiware.mintaka.domain.TemporalValuesEntity.setObservationSpace(TemporalValueGeoProperty) may expose internal representation by storing an externally mutable object into TemporalValuesEntity.observationSpace
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 13 in src/main/java/org/fiware/mintaka/domain/TemporalValuesEntity.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

org.fiware.mintaka.domain.TemporalValuesEntity.setOperationSpace(TemporalValueGeoProperty) may expose internal representation by storing an externally mutable object into TemporalValuesEntity.operationSpace
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 61 in src/main/java/org/fiware/mintaka/domain/query/ngsi/ComparisonTerm.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.query.ngsi.ComparisonTerm.getContextUrls() may expose internal representation by returning ComparisonTerm.contextUrls
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 69 in src/main/java/org/fiware/mintaka/domain/query/ngsi/ComparisonTerm.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

new org.fiware.mintaka.domain.query.ngsi.ComparisonTerm(String, ComparisonOperator, String, String, LdContextCache, List) may expose internal representation by storing an externally mutable object into ComparisonTerm.contextUrls
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.

Check warning on line 17 in src/main/java/org/fiware/mintaka/domain/query/ngsi/LogicalTerm.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.domain.query.ngsi.LogicalTerm.getSubTerms() may expose internal representation by returning LogicalTerm.subTerms
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 103 in src/main/java/org/fiware/mintaka/domain/query/temporal/TimeQuery.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

NP_NULL_ON_SOME_PATH

Possible null pointer dereference of TimeQuery.timeRelation in org.fiware.mintaka.domain.query.temporal.TimeQuery.getSqlRepresentation(String)
Raw output
There is a branch of statement that, if executed, guarantees that a null value will be dereferenced, which would generate a NullPointerException when the code is executed. Of course, the problem might be that the branch or statement is infeasible and that the null pointer exception can't ever be executed; deciding that is beyond the ability of SpotBugs.

Check warning on line 68 in src/main/java/org/fiware/mintaka/persistence/AbstractAttribute.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.persistence.AbstractAttribute.getGeoLineString() may expose internal representation by returning AbstractAttribute.geoLineString
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 72 in src/main/java/org/fiware/mintaka/persistence/AbstractAttribute.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.persistence.AbstractAttribute.getGeoMultiLineString() may expose internal representation by returning AbstractAttribute.geoMultiLineString
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 64 in src/main/java/org/fiware/mintaka/persistence/AbstractAttribute.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.persistence.AbstractAttribute.getGeoMultiPolygon() may expose internal representation by returning AbstractAttribute.geoMultiPolygon
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 56 in src/main/java/org/fiware/mintaka/persistence/AbstractAttribute.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.persistence.AbstractAttribute.getGeoPoint() may expose internal representation by returning AbstractAttribute.geoPoint
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 60 in src/main/java/org/fiware/mintaka/persistence/AbstractAttribute.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP

org.fiware.mintaka.persistence.AbstractAttribute.getGeoPolygon() may expose internal representation by returning AbstractAttribute.geoPolygon
Raw output
Returning a reference to a mutable object value stored in one of the object's fields exposes the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Returning a new copy of the object is better approach in many situations.

Check warning on line 15 in src/main/java/org/fiware/mintaka/persistence/AbstractAttribute.java

See this annotation in the file changed.

@github-actions github-actions / spotbugs

EI_EXPOSE_REP2

org.fiware.mintaka.persistence.AbstractAttribute.setGeoLineString(LineString) may expose internal representation by storing an externally mutable object into AbstractAttribute.geoLineString
Raw output
This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.