Skip to content

Commit 094f610

Browse files
committed
removed unused method
Signed-off-by: Mohamed Sylla <[email protected]>
1 parent dce65b9 commit 094f610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sct-service/src/main/java/org/lfenergy/compas/service/SclManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ public TExtRef updateExtRefSource(SCL scd, ExtRefInfo extRefInfo) throws ScdExce
180180
throw new IllegalArgumentException(String.format("Internal binding can't have control block"));
181181
}
182182
ExtRefSourceInfo sourceInfo = extRefInfo.getSourceInfo();
183-
if(sourceInfo == null || !sourceInfo.isValid()){
184-
throw new IllegalArgumentException("Invalid or missing attributes in ExtRef binding info");
183+
if(sourceInfo == null ){
184+
throw new IllegalArgumentException("Invalid or missing attributes in ExtRef source info");
185185
}
186186

187187
SclRootAdapter sclRootAdapter = new SclRootAdapter(scd);

0 commit comments

Comments
 (0)