mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-07 03:06:03 +08:00
cleanup of minor warnings
This commit is contained in:
@@ -135,7 +135,7 @@ public class XMLTokener extends JSONTokener {
|
||||
* @return A Character or an entity String if the entity is not recognized.
|
||||
* @throws JSONException If missing ';' in XML entity.
|
||||
*/
|
||||
public Object nextEntity(char ampersand) throws JSONException {
|
||||
public Object nextEntity(@SuppressWarnings("unused") char ampersand) throws JSONException {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (;;) {
|
||||
char c = next();
|
||||
|
Reference in New Issue
Block a user