Repository: systemml Updated Branches: refs/heads/master 61467dab8 -> f31548007
[MINOR] Remove unnecessary imports Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/f3154800 Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/f3154800 Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/f3154800 Branch: refs/heads/master Commit: f315480074b8e9168a0b04941b86ead4c8b0a65f Parents: 61467da Author: Deron Eriksson <de...@apache.org> Authored: Thu Jul 13 17:16:58 2017 -0700 Committer: Deron Eriksson <de...@apache.org> Committed: Thu Jul 13 17:16:58 2017 -0700 ---------------------------------------------------------------------- src/main/java/org/apache/sysml/debug/DMLDebugger.java | 2 -- .../sysml/runtime/instructions/cp/SpoofCPInstruction.java | 3 --- .../runtime/instructions/gpu/MatrixAppendGPUInstruction.java | 5 +---- .../sysml/runtime/instructions/spark/SpoofSPInstruction.java | 3 +-- .../runtime/instructions/spark/utils/RDDConverterUtilsExt.java | 1 - 5 files changed, 2 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/f3154800/src/main/java/org/apache/sysml/debug/DMLDebugger.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/debug/DMLDebugger.java b/src/main/java/org/apache/sysml/debug/DMLDebugger.java index 3b6885f..eb2dc52 100644 --- a/src/main/java/org/apache/sysml/debug/DMLDebugger.java +++ b/src/main/java/org/apache/sysml/debug/DMLDebugger.java @@ -23,8 +23,6 @@ import java.io.PrintStream; import org.apache.commons.cli.CommandLine; import org.apache.commons.lang.math.IntRange; - -import org.apache.sysml.debug.DMLDebuggerFunctions; import org.apache.sysml.runtime.controlprogram.context.ExecutionContext; import org.apache.sysml.runtime.controlprogram.context.ExecutionContextFactory; import org.apache.sysml.runtime.instructions.cp.BreakPointInstruction.BPINSTRUCTION_STATUS; http://git-wip-us.apache.org/repos/asf/systemml/blob/f3154800/src/main/java/org/apache/sysml/runtime/instructions/cp/SpoofCPInstruction.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/runtime/instructions/cp/SpoofCPInstruction.java b/src/main/java/org/apache/sysml/runtime/instructions/cp/SpoofCPInstruction.java index bf523d1..0d0140d 100644 --- a/src/main/java/org/apache/sysml/runtime/instructions/cp/SpoofCPInstruction.java +++ b/src/main/java/org/apache/sysml/runtime/instructions/cp/SpoofCPInstruction.java @@ -27,9 +27,6 @@ import org.apache.sysml.runtime.codegen.CodegenUtils; import org.apache.sysml.runtime.codegen.SpoofOperator; import org.apache.sysml.runtime.controlprogram.context.ExecutionContext; import org.apache.sysml.runtime.instructions.InstructionUtils; -import org.apache.sysml.runtime.instructions.cp.CPOperand; -import org.apache.sysml.runtime.instructions.cp.ComputationCPInstruction; -import org.apache.sysml.runtime.instructions.cp.ScalarObject; import org.apache.sysml.runtime.matrix.data.MatrixBlock; public class SpoofCPInstruction extends ComputationCPInstruction http://git-wip-us.apache.org/repos/asf/systemml/blob/f3154800/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixAppendGPUInstruction.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixAppendGPUInstruction.java b/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixAppendGPUInstruction.java index 7671d7d..31dd6aa 100644 --- a/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixAppendGPUInstruction.java +++ b/src/main/java/org/apache/sysml/runtime/instructions/gpu/MatrixAppendGPUInstruction.java @@ -27,10 +27,6 @@ import org.apache.sysml.runtime.functionobjects.OffsetColumnIndex; import org.apache.sysml.runtime.instructions.InstructionUtils; import org.apache.sysml.runtime.instructions.cp.AppendCPInstruction; import org.apache.sysml.runtime.instructions.cp.CPOperand; -import org.apache.sysml.runtime.instructions.cp.FrameAppendCPInstruction; -import org.apache.sysml.runtime.instructions.cp.MatrixAppendCPInstruction; -import org.apache.sysml.runtime.instructions.cp.ScalarAppendCPInstruction; -import org.apache.sysml.runtime.instructions.gpu.GPUInstruction; import org.apache.sysml.runtime.matrix.data.LibMatrixCUDA; import org.apache.sysml.runtime.matrix.operators.Operator; import org.apache.sysml.runtime.matrix.operators.ReorgOperator; @@ -62,6 +58,7 @@ public class MatrixAppendGPUInstruction extends GPUInstruction { String opcode = parts[0]; CPOperand in1 = new CPOperand(parts[1]); CPOperand in2 = new CPOperand(parts[2]); + @SuppressWarnings("unused") CPOperand in3 = new CPOperand(parts[3]); CPOperand out = new CPOperand(parts[4]); boolean cbind = Boolean.parseBoolean(parts[5]); http://git-wip-us.apache.org/repos/asf/systemml/blob/f3154800/src/main/java/org/apache/sysml/runtime/instructions/spark/SpoofSPInstruction.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/runtime/instructions/spark/SpoofSPInstruction.java b/src/main/java/org/apache/sysml/runtime/instructions/spark/SpoofSPInstruction.java index 663e269..2be7b2c 100644 --- a/src/main/java/org/apache/sysml/runtime/instructions/spark/SpoofSPInstruction.java +++ b/src/main/java/org/apache/sysml/runtime/instructions/spark/SpoofSPInstruction.java @@ -33,9 +33,9 @@ import org.apache.sysml.runtime.DMLRuntimeException; import org.apache.sysml.runtime.codegen.CodegenUtils; import org.apache.sysml.runtime.codegen.LibSpoofPrimitives; import org.apache.sysml.runtime.codegen.SpoofCellwise; -import org.apache.sysml.runtime.codegen.SpoofMultiAggregate; import org.apache.sysml.runtime.codegen.SpoofCellwise.AggOp; import org.apache.sysml.runtime.codegen.SpoofCellwise.CellType; +import org.apache.sysml.runtime.codegen.SpoofMultiAggregate; import org.apache.sysml.runtime.codegen.SpoofOperator; import org.apache.sysml.runtime.codegen.SpoofOuterProduct; import org.apache.sysml.runtime.codegen.SpoofOuterProduct.OutProdType; @@ -50,7 +50,6 @@ import org.apache.sysml.runtime.instructions.InstructionUtils; import org.apache.sysml.runtime.instructions.cp.CPOperand; import org.apache.sysml.runtime.instructions.cp.DoubleObject; import org.apache.sysml.runtime.instructions.cp.ScalarObject; -import org.apache.sysml.runtime.instructions.spark.SPInstruction; import org.apache.sysml.runtime.instructions.spark.data.PartitionedBroadcast; import org.apache.sysml.runtime.instructions.spark.utils.RDDAggregateUtils; import org.apache.sysml.runtime.matrix.MatrixCharacteristics; http://git-wip-us.apache.org/repos/asf/systemml/blob/f3154800/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/RDDConverterUtilsExt.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/RDDConverterUtilsExt.java b/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/RDDConverterUtilsExt.java index 377ca2e..775d11a 100644 --- a/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/RDDConverterUtilsExt.java +++ b/src/main/java/org/apache/sysml/runtime/instructions/spark/utils/RDDConverterUtilsExt.java @@ -42,7 +42,6 @@ import org.apache.spark.mllib.util.NumericParser; import org.apache.spark.sql.Dataset; import org.apache.spark.sql.Row; import org.apache.spark.sql.RowFactory; -import org.apache.spark.sql.SQLContext; import org.apache.spark.sql.SparkSession; import org.apache.spark.sql.types.DataTypes; import org.apache.spark.sql.types.StructField;