Skip to content

Commit 97f731f

Browse files
#16: Release 2.0.0
- Fix remaining JavaDoc issues - Update README with releases
1 parent 6c5674b commit 97f731f

5 files changed

Lines changed: 19 additions & 16 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The nightly builds are available as maven repository or p2 update site.
3636
### Maven [![m2-deploy-status](https://img.shields.io/jenkins/build?jobUrl=https://ci.eclipse.org/emfcloud/job/deploy-emfcloud-emfjson-jackson-m2&label=m2-publish)](https://ci.eclipse.org/emfcloud/job/deploy-emfcloud-emfjson-jackson-m2/)
3737

3838
- <i>Snapshots: </i> https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/emfcloud/emfjson-jackson/
39-
- <i>Releases/Release Candidates: </i> There are no releases available yet
39+
- <i>Releases/Release Candidates: </i> https://oss.sonatype.org/content/repositories/releases/org/eclipse/emfcloud/emfjson-jackson/
4040

4141
To use the Maven artifact add the following dependency to your POM file:
4242

@@ -64,7 +64,7 @@ If you want to consume the nightly builds you have to configure the sonatype sna
6464
### P2 Update Site [![p2-deploy-status](https://img.shields.io/jenkins/build?jobUrl=https://ci.eclipse.org/emfcloud/job/deploy-emfcloud-emfjson-jackson-p2&label=p2-publish)](https://ci.eclipse.org/emfcloud/job/deploy-emfcloud-emfjson-jackson-p2/)
6565

6666
- Snapshots: https://download.eclipse.org/emfcloud/emfjson-jackson/p2/nightly/
67-
- Releases/Release Candidates: There are no releases available yet
67+
- Releases/Release Candidates: https://download.eclipse.org/emfcloud/emfjson-jackson/p2/releases/
6868

6969
This update sites contain the bundle and feature for emfjson-jackson and Jackson.
7070

src/main/java/org/eclipse/emfcloud/jackson/annotations/JsonAnnotations.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private JsonAnnotations() {
3737
/**
3838
* Returns the name that should be use to serialize the property.
3939
*
40-
* @param element
40+
* @param element any element
4141
* @return name of property
4242
*/
4343
public static String getElementName(final ENamedElement element) {
@@ -62,7 +62,7 @@ public static List<String> getAliases(final ENamedElement element) {
6262
/**
6363
* Returns true if the feature should not be serialize.
6464
*
65-
* @param feature
65+
* @param feature any feature
6666
* @return true if should not be serialize
6767
*/
6868
public static boolean shouldIgnore(final EStructuralFeature feature) {
@@ -72,7 +72,7 @@ public static boolean shouldIgnore(final EStructuralFeature feature) {
7272
/**
7373
* Returns the property that should be use to store the type information of the classifier.
7474
*
75-
* @param classifier
75+
* @param classifier any classifier
7676
* @return the type information property
7777
*/
7878
@SuppressWarnings("checkstyle:cyclomaticComplexity")
@@ -119,7 +119,7 @@ public static EcoreTypeInfo getTypeProperty(final EClassifier classifier) {
119119
* Returns true if the classifier type information should not be serialize.
120120
* This is true when the classifier possesses an annotation @JsonType with include = "false".
121121
*
122-
* @param classifier
122+
* @param classifier any classifier
123123
* @return true if type info should not be serialize
124124
*/
125125
public static boolean shouldIgnoreType(final EClassifier classifier) {
@@ -131,7 +131,7 @@ public static boolean shouldIgnoreType(final EClassifier classifier) {
131131
/**
132132
* Returns the property that should be use to serialize the identity of the object.
133133
*
134-
* @param classifier
134+
* @param classifier any classifier
135135
* @return the identity property
136136
*/
137137
public static String getIdentityProperty(final EClassifier classifier) {

src/main/java/org/eclipse/emfcloud/jackson/handlers/URIHandler.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ public interface URIHandler {
2121
/**
2222
* Returns the URI {@link URI#resolve(URI) resolved} against the base URI.
2323
*
24-
* @param uri the URI to resolve.
24+
* @param baseURI the base URI against which the URI is resolved.
25+
* @param uri the URI to resolve.
2526
* @return the URI resolved against the base URI.
2627
* @see URI#resolve(URI)
2728
*/
@@ -30,7 +31,8 @@ public interface URIHandler {
3031
/**
3132
* Returns the URI {@link URI#deresolve(URI) deresolved} against the base URI.
3233
*
33-
* @param uri the URI to resolve.
34+
* @param baseURI the base URI against which the URI is deresolved.
35+
* @param uri the URI to resolve.
3436
* @return the URI resolved against the base URI.
3537
* @see URI#deresolve(URI)
3638
*/

src/main/java/org/eclipse/emfcloud/jackson/module/EMFModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public static ObjectMapper setupDefaultMapper() {
140140
* Returns a pre configured mapper using the EMF module and the specified jackson factory.
141141
* This method can be used to work with formats others than JSON (such as YAML).
142142
*
143-
* @param factory
143+
* @param factory Jackson factory
144144
* @return mapper
145145
*/
146146
public static ObjectMapper setupDefaultMapper(final JsonFactory factory) {

src/main/java/org/eclipse/emfcloud/jackson/utils/EObjects.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ private EObjects() {}
3434
* Set or add a value to an object reference. The value must be
3535
* an EObject.
3636
*
37-
* @param owner
38-
* @param reference
39-
* @param value
37+
* @param owner EObject owning the reference
38+
* @param reference the reference of the value to set
39+
* @param value value to set for the reference
4040
*/
4141
public static void setOrAdd(final EObject owner, final EReference reference, final Object value) {
4242
if (value != null) {
@@ -56,8 +56,9 @@ public static void setOrAdd(final EObject owner, final EReference reference, fin
5656
* Checks that the contained object is in a different resource than it's owner, making
5757
* it a contained proxy.
5858
*
59-
* @param owner
60-
* @param contained
59+
* @param ctxt the databind context
60+
* @param owner EObject owning the contained object
61+
* @param contained contained object to be evaluated
6162
* @return true if proxy
6263
*/
6364
public static boolean isContainmentProxy(final DatabindContext ctxt, final EObject owner, final EObject contained) {
@@ -76,9 +77,9 @@ public static boolean isContainmentProxy(final DatabindContext ctxt, final EObje
7677
*
7778
* @param key of entry
7879
* @param value of entry
80+
* @param type of entry
7981
* @return entry
8082
*/
81-
8283
public static EObject createEntry(final String key, final Object value, final EClass type) {
8384
if (type == EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY) {
8485

0 commit comments

Comments
 (0)