@Test public void testSchemaAddsProperties() { final Schema first = SchemaLoader.load(new JSONObject("{}")); final Schema second = SchemaLoader.load(new JSONObject(("{\"properties\": {}}"))); final List<Difference> changes = SchemaDiff.compare(first, second); Assert.assertTrue(changes.isEmpty()); }
public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); }
SchemaDiff { public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); } }
SchemaDiff { public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); }  }
SchemaDiff { public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); }  static List<Difference> compare(final Schema original, final Schema update); }
SchemaDiff { public static List<Difference> compare(final Schema original, final Schema update) { final Context ctx = new Context(COMPATIBLE_CHANGES); compare(ctx, original, update); return ctx.getDifferences(); }  static List<Difference> compare(final Schema original, final Schema update); static final Set<Difference.Type> COMPATIBLE_CHANGES; }