X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.support.simple%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdiff%2FDiff.java;h=7e610cdf85793a0670616137978562f2a7380b97;hb=5e0439f7d96c6bd6f15640a267524e811ad63e98;hp=fe4607230b60ad188c21586bae5056f6caa2a001;hpb=1fdb1b4e7b1d2b0cabb6483238301b857a6392fa;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/Diff.java b/runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/Diff.java index fe4607230..7e610cdf8 100644 --- a/runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/Diff.java +++ b/runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/diff/Diff.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * Copyright (C) 2007-2012 Mathieu Baudier * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,13 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.argeo.slc.diff; import org.springframework.core.io.Resource; /** A comparator providing structured information about the differences found. */ -public interface Diff { +public interface Diff { /** Performs the comparison. */ - public DiffResult compare(Resource expected, Resource reached); + public T compare(Resource expected, Resource reached); }