}
public static void performFormSynchronization(IFile formFile, FormNode formNode) {
InfoPathSupport infoPathSupport = new InfoPathSupport(formNode, formFile, formFile.getLocation().toOSString());
try {
if (!infoPathSupport.rewriteXsnFileWithAnotherTemplateId()) {
DesignerLogger.logInfo("InfoPath form have not been rewrited");
}
} catch (Exception e) {
DesignerLogger.logError("Error occured when rewriting InfoPath form", e);
}