@Override public boolean equals(@Nullable final Object obj) { if (obj == null) return false; if (this == obj) return true; if (getClass() != obj.getClass()) return false; final SchemaURI other = (SchemaURI) obj; return locator.equals(other.locator) && pointer.equals(other.pointer); }
final SchemaURI schemaURI = new SchemaURI(data.getSchema()); if (ptr.equals(pointer)) { if (schemaURIs.contains(schemaURI)) throw new ProcessingException(validationLoopMessage(data));
@Override public final boolean equals(@Nullable final Object obj) { if (obj == null) return false; if (this == obj) return true; if (getClass() != obj.getClass()) return false; final BaseSchemaTree other = (BaseSchemaTree) obj; return key.equals(other.key) && pointer.equals(other.pointer); }
@Override public final boolean equals(@Nullable final Object obj) { if (obj == null) return false; if (this == obj) return true; if (getClass() != obj.getClass()) return false; final BaseSchemaTree other = (BaseSchemaTree) obj; return key.equals(other.key) && pointer.equals(other.pointer); }
@Override public final boolean equals(@Nullable final Object obj) { if (obj == null) return false; if (this == obj) return true; if (getClass() != obj.getClass()) return false; final BaseSchemaTree other = (BaseSchemaTree) obj; return key.equals(other.key) && pointer.equals(other.pointer); }
@Override public JsonNode apply(final JsonNode node) throws JsonPatchException { if (from.equals(path)) return node.deepCopy(); final JsonNode movedNode = from.path(node); if (movedNode.isMissingNode()) throw new JsonPatchException(BUNDLE.getMessage( "jsonPatch.noSuchPath")); final JsonPatchOperation remove = new RemoveOperation(from); final JsonPatchOperation add = new AddOperation(path, movedNode); return add.apply(remove.apply(node)); } }
@Override protected boolean doEquivalent(final SchemaTree a, final SchemaTree b) { return a.getLoadingRef().equals(b.getLoadingRef()) && a.getContext().equals(b.getContext()) && a.getPointer().equals(b.getPointer()) && a.getBaseNode().equals(b.getBaseNode()); }
@Override protected boolean doEquivalent(final SchemaTree a, final SchemaTree b) { return a.getLoadingRef().equals(b.getLoadingRef()) && a.getContext().equals(b.getContext()) && a.getPointer().equals(b.getPointer()) && a.getBaseNode().equals(b.getBaseNode()); }
@Override protected boolean doEquivalent(final SchemaTree a, final SchemaTree b) { return a.getLoadingRef().equals(b.getLoadingRef()) && a.getContext().equals(b.getContext()) && a.getPointer().equals(b.getPointer()) && a.getBaseNode().equals(b.getBaseNode()); }