-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core - python : delete track_links from core parser and railjson_gene…
…rator
- Loading branch information
1 parent
1bd551d
commit 93a660a
Showing
8 changed files
with
30 additions
and
103 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
32 changes: 0 additions & 32 deletions
32
core/osrd-railjson/src/main/java/fr/sncf/osrd/railjson/schema/infra/RJSTrackSectionLink.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,32 +0,0 @@ | ||
package fr.sncf.osrd.railjson.schema.infra; | ||
|
||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; | ||
import fr.sncf.osrd.railjson.schema.common.Identified; | ||
|
||
/** This class represents a link between two track sections */ | ||
@SuppressFBWarnings({"URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"}) | ||
public class RJSTrackSectionLink implements Identified { | ||
public String id; | ||
public RJSTrackEndpoint src; | ||
public RJSTrackEndpoint dst; | ||
|
||
/** | ||
* Create a serialized track section link | ||
* @param src the beginning of the link | ||
* @param dst end end of the link | ||
*/ | ||
public RJSTrackSectionLink( | ||
String id, | ||
RJSTrackEndpoint src, | ||
RJSTrackEndpoint dst | ||
) { | ||
this.id = id; | ||
this.src = src; | ||
this.dst = dst; | ||
} | ||
|
||
@Override | ||
public String getID() { | ||
return id; | ||
} | ||
} | ||
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
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