Skip to content

Commit

Permalink
Replace calls to CorePlugin with CoreModelerPlugin
Browse files Browse the repository at this point in the history
* Replaces remaining calls to teiid class CorePlugin with designer class
  CoreModelerPlugin
  • Loading branch information
Paul Richardson committed Dec 7, 2012
1 parent 2bf6743 commit c28d8aa
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import org.teiid.core.CorePlugin;
import org.teiid.core.designer.CoreModelerPlugin;
import org.teiid.core.designer.TeiidDesignerException;
import org.teiid.core.designer.util.OperationUtil.Unreliable;
Expand Down Expand Up @@ -99,11 +98,11 @@ public static String toFileNameWithExtension(final String name,
final String extension,
final boolean force) {
if (name == null) {
final String msg = CorePlugin.Util.getString("FileUtils.The_name_of_the_file_may_not_be_null"); //$NON-NLS-1$
final String msg = CoreModelerPlugin.Util.getString("FileUtils.The_name_of_the_file_may_not_be_null"); //$NON-NLS-1$
throw new IllegalArgumentException(msg);
}
if (extension == null) {
final String msg = CorePlugin.Util.getString("FileUtils.The_file_extension_may_not_be_null"); //$NON-NLS-1$
final String msg = CoreModelerPlugin.Util.getString("FileUtils.The_file_extension_may_not_be_null"); //$NON-NLS-1$
throw new IllegalArgumentException(msg);
}
if (name.endsWith(extension)) {
Expand Down

0 comments on commit c28d8aa

Please sign in to comment.