/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package reportgen.factory;
import reportgen.factory.patch.ReportPatch;
import reportgen.factory.patch.regex.RegexReportPatch;
/**
*
* @author axe
*/
final class ReportVersion253_254 extends ReportVersion {
public ReportVersion253_254() {
super(2, 5, 4);
}
@Override
public ReportVersion realVersion() {
return new ReportVersion(2, 5, 3);
}
@Override
public ReportPatch getPatch() {
return new RegexReportPatch(
new Object[][] {
{"version=\"2.5.3\"", "version=\"2.5.4\"", null},
{"<unarycond>(.*?)<operator>is not null</operator>(.*?)</unarycond>",
"<unarynull>$1<operator>is not null</operator>$2</unarynull>", null},
{"<unarycond>(.*?)<operator>is null</operator>(.*?)</unarycond>",
"<unarynull>$1<operator>is null</operator>$2</unarynull>", null},
{"<unarycond>(.*?)<operator>NOT EXISTS</operator>(.*?)</unarycond>",
"<unaryexist>$1<operator>not exists</operator>$2</unaryexist>", null},
{"<unarycond>(.*?)<operator>EXISTS</operator>(.*?)</unarycond>",
"<unaryexist>$1<operator>exists</operator>$2</unaryexist>", null}, }
);
}
}