Skip to content

Commit 5518c87

Browse files
committed
Replace references to deprecated API in JavaDoc
1 parent 550d16a commit 5518c87

File tree

1 file changed

+4
-4
lines changed
  • com.eclipsesource.json/src/main/java/com/eclipsesource/json

1 file changed

+4
-4
lines changed

com.eclipsesource.json/src/main/java/com/eclipsesource/json/JsonValue.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2013, 2016 EclipseSource.
2+
* Copyright (c) 2013, 2017 EclipseSource.
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
@@ -34,7 +34,7 @@
3434
* <strong>true</strong>, <strong>false</strong>, and <strong>null</strong>.
3535
* <p>
3636
* The literals <strong>true</strong>, <strong>false</strong>, and <strong>null</strong> are
37-
* represented by the constants {@link #TRUE}, {@link #FALSE}, and {@link #NULL}.
37+
* represented by the constants {@link Json#TRUE}, {@link Json#FALSE}, and {@link Json#NULL}.
3838
* </p>
3939
* <p>
4040
* JSON <strong>objects</strong> and <strong>arrays</strong> are represented by the subtypes
@@ -44,7 +44,7 @@
4444
* <p>
4545
* Instances that represent JSON <strong>numbers</strong>, <strong>strings</strong> and
4646
* <strong>boolean</strong> values can be created using the static factory methods
47-
* {@link #valueOf(String)}, {@link #valueOf(long)}, {@link #valueOf(double)}, etc.
47+
* {@link Json#value(String)}, {@link Json#value(long)}, {@link Json#value(double)}, etc.
4848
* </p>
4949
* <p>
5050
* In order to find out whether an instance of this class is of a certain type, the methods
@@ -439,7 +439,7 @@ public void writeTo(Writer writer, WriterConfig config) throws IOException {
439439

440440
/**
441441
* Returns the JSON string for this value in its minimal form, without any additional whitespace.
442-
* The result is guaranteed to be a valid input for the method {@link #readFrom(String)} and to
442+
* The result is guaranteed to be a valid input for the method {@link Json#parse(String)} and to
443443
* create a value that is <em>equal</em> to this object.
444444
*
445445
* @return a JSON string that represents this value

0 commit comments

Comments
 (0)