X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ferrors%2FDoesNotExist.java;h=38d9a99254c52c0a9f6d590be33a6d1125af9669;hb=refs%2Fchanges%2F38%2F238%2F2;hp=316233f3008c83f65f1c9ce561146ab6c107598c;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/DoesNotExist.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/DoesNotExist.java index 316233f30..38d9a9925 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/DoesNotExist.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/DoesNotExist.java @@ -1,32 +1,32 @@ -package org.simantics.scl.compiler.errors; - - -@SuppressWarnings("rawtypes") -public enum DoesNotExist implements Failable { - INSTANCE; - - @SuppressWarnings("unchecked") - public static Failable getInstance() { - return INSTANCE; - } - - @Override - public Object getResult() { - throw new IllegalStateException("Module does not exist."); - } - - @Override - public boolean didSucceed() { - return false; - } - - @Override - public String toString() { - return "DoesNotExist"; - } - - @Override - public String getDescription() { - return "Module does not exist."; - } -} +package org.simantics.scl.compiler.errors; + + +@SuppressWarnings("rawtypes") +public enum DoesNotExist implements Failable { + INSTANCE; + + @SuppressWarnings("unchecked") + public static Failable getInstance() { + return INSTANCE; + } + + @Override + public Object getResult() { + throw new IllegalStateException("Module does not exist."); + } + + @Override + public boolean didSucceed() { + return false; + } + + @Override + public String toString() { + return "DoesNotExist"; + } + + @Override + public String getDescription() { + return "Module does not exist."; + } +}