You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2022/04/19 16:27:31 UTC

[systemds] 01/01: [MINOR] Fix system warnings vscode

This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git

commit 27e36fc53a7454d63764a4a5bb3ca83527f3727e
Author: baunsgaard <ba...@tugraz.at>
AuthorDate: Tue Apr 19 18:24:55 2022 +0200

    [MINOR] Fix system warnings vscode
    
    Closes #1579
---
 .../org/apache/sysds/runtime/controlprogram/caching/CacheableData.java   | 1 -
 .../sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java    | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java b/src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java
index 3cee338f7d..f2bb3d4b4a 100644
--- a/src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java
+++ b/src/main/java/org/apache/sysds/runtime/controlprogram/caching/CacheableData.java
@@ -36,7 +36,6 @@ import org.apache.sysds.common.Types.ExecMode;
 import org.apache.sysds.common.Types.FileFormat;
 import org.apache.sysds.common.Types.ValueType;
 import org.apache.sysds.conf.ConfigurationManager;
-import org.apache.sysds.conf.DMLConfig;
 import org.apache.sysds.hops.OptimizerUtils;
 import org.apache.sysds.hops.fedplanner.FTypes.FType;
 import org.apache.sysds.runtime.DMLRuntimeException;
diff --git a/src/main/java/org/apache/sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java b/src/main/java/org/apache/sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java
index a49d6decff..abbe17d09e 100644
--- a/src/main/java/org/apache/sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java
+++ b/src/main/java/org/apache/sysds/runtime/instructions/fed/AggregateBinaryFEDInstruction.java
@@ -153,6 +153,7 @@ public class AggregateBinaryFEDInstruction extends BinaryFEDInstruction {
 	 * @param outputID ID of the output
 	 * @param ec execution context
 	 */
+	@SuppressWarnings("unused")
 	private void setPartialOutput(FederationMap federationMap, MatrixLineagePair mo1, MatrixLineagePair mo2,
 		long outputID, ExecutionContext ec){
 		MatrixObject out = ec.getMatrixObject(output);