-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
572d0bf
commit 6ad98bb
Showing
4 changed files
with
28 additions
and
17 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
5 changes: 5 additions & 0 deletions
5
protocol/src/main/resources/java/ProtocolClassFoldTemplate.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
${protocol_note} | ||
public class ${protocol_name} { | ||
${protocol_field_definition} | ||
public static final IProtocolRegistration ${protocol_name}Registration = new ${protocol_name}Registration(); | ||
} |
2 changes: 1 addition & 1 deletion
2
protocol/src/main/resources/java/ProtocolRegistrationTemplate.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
${protocol_root_path} | ||
${protocol_imports} | ||
import java.util.*; | ||
${protocol_note} | ||
public class ${protocol_name} { | ||
${protocol_field_definition} | ||
|
||
${protocol_registration} | ||
} | ||
${protocol_class} | ||
|
||
${protocol_registration} |