Skip to content

First draft for a buffered writing of files #37

First draft for a buffered writing of files

First draft for a buffered writing of files #37

Triggered via pull request May 29, 2024 16:53
Status Success
Total duration 15m 19s
Artifacts 4

trigger-pr.yaml

on: pull_request
Compiling GAMA from PR branch  /  compilation
13m 41s
Compiling GAMA from PR branch / compilation
Compiling GAMA from base branch  /  compilation
13m 41s
Compiling GAMA from base branch / compilation
Testing built GAMA  /  compilation
1m 20s
Testing built GAMA / compilation
Display Spotbugs results
35s
Display Spotbugs results
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE: gama.extension.image/src/gama/extension/image/ImageSaver.java#L73
Exceptional return value of java.io.File.delete() ignored in gama.extension.image.ImageSaver.save(IScope, IExpression, File, String, boolean, String, Object, WriteController$BufferingStrategies)
DM_DEFAULT_ENCODING: gama.core/src/gama/core/runtime/concurrent/WriteController.java#L86
Found reliance on default encoding in gama.core.runtime.concurrent.WriteController.directWrite(String, CharSequence, boolean): new java.io.FileWriter(File, boolean)
OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE: gama.core/src/gama/core/runtime/concurrent/WriteController.java#L86
gama.core.runtime.concurrent.WriteController.directWrite(String, CharSequence, boolean) may fail to clean up java.io.Writer on checked exception
DM_DEFAULT_ENCODING: gama.core/src/gama/gaml/statements/save/ASCSaver.java#L65
Found reliance on default encoding in gama.gaml.statements.save.ASCSaver.save(IScope, IExpression, File, String, boolean, String, Object, WriteController$BufferingStrategies): new java.io.FileWriter(File)
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE: gama.core/src/gama/gaml/statements/save/ASCSaver.java#L60
Exceptional return value of java.io.File.delete() ignored in gama.gaml.statements.save.ASCSaver.save(IScope, IExpression, File, String, boolean, String, Object, WriteController$BufferingStrategies)
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE: gama.core/src/gama/gaml/statements/save/GeoTiffSaver.java#L68
Exceptional return value of java.io.File.delete() ignored in gama.gaml.statements.save.GeoTiffSaver.save(IScope, IExpression, File, String, boolean, String, Object, WriteController$BufferingStrategies)
DM_DEFAULT_ENCODING: gama.core/src/gama/gaml/statements/save/JsonSaver.java#L37
Found reliance on default encoding in gama.gaml.statements.save.JsonSaver.save(IScope, IExpression, File, String, boolean, String, Object, WriteController$BufferingStrategies): new java.io.FileWriter(File, boolean)

Artifacts

Produced during runtime
Name Size
final-report-spotbugs Expired
37.7 KB
gama-compiled-archive Expired
167 MB
result-spotbugs-base Expired
682 KB
result-spotbugs-pr Expired
682 KB