-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Sonar fixes
- Loading branch information
Showing
51 changed files
with
302 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...om/refinedmods/refinedstorage2/network/test/nodefactory/ControllerNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.refinedmods.refinedstorage2.network.test.nodefactory; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.impl.node.controller.ControllerNetworkNode; | ||
import com.refinedmods.refinedstorage2.api.network.node.AbstractNetworkNode; | ||
import com.refinedmods.refinedstorage2.network.test.AddNetworkNode; | ||
|
||
import java.util.Map; | ||
|
||
public class ControllerNetworkNodeFactory extends AbstractNetworkNodeFactory<ControllerNetworkNode> { | ||
public class ControllerNetworkNodeFactory extends AbstractNetworkNodeFactory { | ||
@Override | ||
protected ControllerNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
protected AbstractNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
return new ControllerNetworkNode(); | ||
} | ||
} |
5 changes: 3 additions & 2 deletions
5
.../com/refinedmods/refinedstorage2/network/test/nodefactory/DetectorNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.refinedmods.refinedstorage2.network.test.nodefactory; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.impl.node.detector.DetectorNetworkNode; | ||
import com.refinedmods.refinedstorage2.api.network.node.AbstractNetworkNode; | ||
import com.refinedmods.refinedstorage2.network.test.AddNetworkNode; | ||
|
||
import java.util.Map; | ||
|
||
public class DetectorNetworkNodeFactory extends AbstractNetworkNodeFactory<DetectorNetworkNode> { | ||
public class DetectorNetworkNodeFactory extends AbstractNetworkNodeFactory { | ||
@Override | ||
protected DetectorNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
protected AbstractNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
return new DetectorNetworkNode(getEnergyUsage(properties)); | ||
} | ||
} |
5 changes: 3 additions & 2 deletions
5
.../com/refinedmods/refinedstorage2/network/test/nodefactory/ExporterNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.refinedmods.refinedstorage2.network.test.nodefactory; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.impl.node.exporter.ExporterNetworkNode; | ||
import com.refinedmods.refinedstorage2.api.network.node.AbstractNetworkNode; | ||
import com.refinedmods.refinedstorage2.network.test.AddNetworkNode; | ||
|
||
import java.util.Map; | ||
|
||
public class ExporterNetworkNodeFactory extends AbstractNetworkNodeFactory<ExporterNetworkNode> { | ||
public class ExporterNetworkNodeFactory extends AbstractNetworkNodeFactory { | ||
@Override | ||
protected ExporterNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
protected AbstractNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
return new ExporterNetworkNode(getEnergyUsage(properties)); | ||
} | ||
} |
5 changes: 3 additions & 2 deletions
5
...finedmods/refinedstorage2/network/test/nodefactory/ExternalStorageNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...java/com/refinedmods/refinedstorage2/network/test/nodefactory/GridNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.refinedmods.refinedstorage2.network.test.nodefactory; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.impl.node.grid.GridNetworkNode; | ||
import com.refinedmods.refinedstorage2.api.network.node.AbstractNetworkNode; | ||
import com.refinedmods.refinedstorage2.network.test.AddNetworkNode; | ||
|
||
import java.util.Map; | ||
|
||
public class GridNetworkNodeFactory extends AbstractNetworkNodeFactory<GridNetworkNode> { | ||
public class GridNetworkNodeFactory extends AbstractNetworkNodeFactory { | ||
@Override | ||
protected GridNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
protected AbstractNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
return new GridNetworkNode(getEnergyUsage(properties)); | ||
} | ||
} |
5 changes: 3 additions & 2 deletions
5
.../com/refinedmods/refinedstorage2/network/test/nodefactory/ImporterNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.refinedmods.refinedstorage2.network.test.nodefactory; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.impl.node.importer.ImporterNetworkNode; | ||
import com.refinedmods.refinedstorage2.api.network.node.AbstractNetworkNode; | ||
import com.refinedmods.refinedstorage2.network.test.AddNetworkNode; | ||
|
||
import java.util.Map; | ||
|
||
public class ImporterNetworkNodeFactory extends AbstractNetworkNodeFactory<ImporterNetworkNode> { | ||
public class ImporterNetworkNodeFactory extends AbstractNetworkNodeFactory { | ||
@Override | ||
protected ImporterNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
protected AbstractNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
return new ImporterNetworkNode(getEnergyUsage(properties)); | ||
} | ||
} |
5 changes: 3 additions & 2 deletions
5
...com/refinedmods/refinedstorage2/network/test/nodefactory/InterfaceNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.refinedmods.refinedstorage2.network.test.nodefactory; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.impl.node.iface.InterfaceNetworkNode; | ||
import com.refinedmods.refinedstorage2.api.network.node.AbstractNetworkNode; | ||
import com.refinedmods.refinedstorage2.network.test.AddNetworkNode; | ||
|
||
import java.util.Map; | ||
|
||
public class InterfaceNetworkNodeFactory extends AbstractNetworkNodeFactory<InterfaceNetworkNode> { | ||
public class InterfaceNetworkNodeFactory extends AbstractNetworkNodeFactory { | ||
@Override | ||
protected InterfaceNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
protected AbstractNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
return new InterfaceNetworkNode(getEnergyUsage(properties)); | ||
} | ||
} |
5 changes: 3 additions & 2 deletions
5
.../refinedmods/refinedstorage2/network/test/nodefactory/MultiStorageNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...va/com/refinedmods/refinedstorage2/network/test/nodefactory/SimpleNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.refinedmods.refinedstorage2.network.test.nodefactory; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.impl.node.SimpleNetworkNode; | ||
import com.refinedmods.refinedstorage2.api.network.node.AbstractNetworkNode; | ||
import com.refinedmods.refinedstorage2.network.test.AddNetworkNode; | ||
|
||
import java.util.Map; | ||
|
||
public class SimpleNetworkNodeFactory extends AbstractNetworkNodeFactory<SimpleNetworkNode> { | ||
public class SimpleNetworkNodeFactory extends AbstractNetworkNodeFactory { | ||
@Override | ||
protected SimpleNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
protected AbstractNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
return new SimpleNetworkNode(getEnergyUsage(properties)); | ||
} | ||
} |
5 changes: 3 additions & 2 deletions
5
...a/com/refinedmods/refinedstorage2/network/test/nodefactory/StorageNetworkNodeFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package com.refinedmods.refinedstorage2.network.test.nodefactory; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.impl.node.storage.StorageNetworkNode; | ||
import com.refinedmods.refinedstorage2.api.network.node.AbstractNetworkNode; | ||
import com.refinedmods.refinedstorage2.network.test.AddNetworkNode; | ||
|
||
import java.util.Map; | ||
|
||
public class StorageNetworkNodeFactory extends AbstractNetworkNodeFactory<StorageNetworkNode> { | ||
public class StorageNetworkNodeFactory extends AbstractNetworkNodeFactory { | ||
@Override | ||
protected StorageNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
protected AbstractNetworkNode innerCreate(final AddNetworkNode ctx, final Map<String, Object> properties) { | ||
return new StorageNetworkNode(getEnergyUsage(properties)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.