-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mjson seems to be abandoned, so it has been replaced by
everit-json-schema
- Loading branch information
Manuel Domínguez Dorado
committed
Feb 13, 2022
1 parent
6fccd52
commit 13e2478
Showing
18 changed files
with
655 additions
and
46 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,9 +57,9 @@ | |
* | ||
* @author Manuel Domínguez Dorado - [email protected] | ||
*/ | ||
public class SwProject implements ILanguageChangeEventEmitter, ILanguageChangeListener { | ||
public class Project implements ILanguageChangeEventEmitter, ILanguageChangeListener { | ||
|
||
private Logger logger = LoggerFactory.getLogger(SwProject.class); | ||
private Logger logger = LoggerFactory.getLogger(Project.class); | ||
|
||
private String name; | ||
private String version; | ||
|
@@ -93,7 +93,7 @@ public class SwProject implements ILanguageChangeEventEmitter, ILanguageChangeLi | |
* add additional component bindings, you have to use | ||
* addComponentBinding(...) method. | ||
*/ | ||
public SwProject(String name, String version, SupportedLicenses firstLicense, SupportedRedistributions redistribution, ComponentBinding firstComponentBinding) { | ||
public Project(String name, String version, SupportedLicenses firstLicense, SupportedRedistributions redistribution, ComponentBinding firstComponentBinding) { | ||
if (name == null) { | ||
logger.error("name cannot be null"); | ||
throw new IllegalArgumentException("name cannot be null"); | ||
|
@@ -151,7 +151,7 @@ public SwProject(String name, String version, SupportedLicenses firstLicense, Su | |
* @param projectDefinitionAsJSONString a JSON project definition as a | ||
* String. | ||
*/ | ||
public SwProject(String projectDefinitionAsJSONString) { | ||
public Project(String projectDefinitionAsJSONString) { | ||
if (projectDefinitionAsJSONString == null) { | ||
logger.error("projectDefinitionAsJSONString cannot be null"); | ||
throw new IllegalArgumentException("projectDefinitionAsJSONString cannot be null"); | ||
|
@@ -184,7 +184,7 @@ public SwProject(String projectDefinitionAsJSONString) { | |
* | ||
* @param projectDefinitionURL a URL containing a JSON project definition. | ||
*/ | ||
public SwProject(URL projectDefinitionURL) { | ||
public Project(URL projectDefinitionURL) { | ||
if (projectDefinitionURL == null) { | ||
logger.error("projectDefinition URL cannot be null"); | ||
throw new IllegalArgumentException("projectDefinition URL cannot be null"); | ||
|
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.