Skip to content

Commit

Permalink
Correct typo getExtensionsName() into getExtensionName() in Extension…
Browse files Browse the repository at this point in the history
…AdderProvider (#1932)

Signed-off-by: VEDELAGO MIORA <[email protected]>
  • Loading branch information
miovd committed Jan 4, 2022
1 parent 1aa2cb3 commit 5d410ac
Show file tree
Hide file tree
Showing 38 changed files with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesConversionContextExtension.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesModelExtension.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesControlAreas.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesDanglingLineBoundaryNode.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesIidmMapping.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesLineBoundaryNode.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesSshMetadata.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesSvMetadata.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CgmesTapChangers.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CimCharacteristics.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface ExtensionAdderProvider<T extends Extendable<T>, E extends Exten
*
* @return the extension name
*/
default String getExtensionsName() {
default String getExtensionName() {
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private static <O, E extends Extension<O>, B extends ExtensionAdder<O, E>> Exten
private static ExtensionAdderProvider findProvider(
String implName, String extensionName,
ConcurrentMap<String, List<ExtensionAdderProvider>> providersMap) {
return findProvider(implName, s -> s.getExtensionsName() != null && extensionName.equals(s.getExtensionsName()), extensionName, providersMap);
return findProvider(implName, s -> s.getExtensionName() != null && extensionName.equals(s.getExtensionName()), extensionName, providersMap);
}

private static ExtensionAdderProvider findProvider(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return SimpleExtension.NAME;
}

Expand All @@ -114,7 +114,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return SimpleExtension.NAME;
}

Expand Down Expand Up @@ -213,7 +213,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return GenericExtension.NAME;
}

Expand All @@ -238,7 +238,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return GenericExtension.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return EntsoeArea.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return MergedXnode.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return Xnode.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return ActivePowerControl.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return BranchObservability.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return CoordinatedReactiveControl.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return DiscreteMeasurements.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return GeneratorEntsoeCategory.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return GeneratorShortCircuit.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return HvdcAngleDroopActivePowerControl.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return HvdcOperatorActivePowerRange.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return IdentifiableShortCircuit.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return InjectionObservability.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return LoadDetail.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return Measurements.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return RemoteReactivePowerControl.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return SlackTerminal.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return ThreeWindingsTransformerPhaseAngleClock.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return ThreeWindingsTransformerToBeEstimated.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return TwoWindingsTransformerPhaseAngleClock.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return TwoWindingsTransformerToBeEstimated.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return VoltagePerReactivePowerControl.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class IdentifiableExtensionGroovyTest {
static class FooAdderProvider implements ExtensionAdderProvider<Substation, Foo, FooAdder> {

@Override
String getExtensionsName() {
String getExtensionName() {
return Foo.NAME
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return PsseConversionContextExtension.NAME;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getImplementationName() {
}

@Override
public String getExtensionsName() {
public String getExtensionName() {
return PsseModelExtension.NAME;
}

Expand Down

0 comments on commit 5d410ac

Please sign in to comment.