mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
Use https url
This commit is contained in:
parent
b1b88bcee2
commit
dd72d6b002
4 changed files with 6 additions and 7 deletions
|
@ -50,8 +50,8 @@ public class Antlr4ToolFacade {
|
|||
this.loader = loader;
|
||||
}
|
||||
|
||||
private String downloadURL = "http://www.antlr.org/download/antlr-4.5.3-complete.jar";
|
||||
private boolean askBeforeDownload = true;
|
||||
private String downloadURL = "https://www.antlr.org/download/antlr-4.5.3-complete.jar";
|
||||
private boolean askBeforeDownload = false;
|
||||
|
||||
public static final String ANTLR4GEN = "antlr4gen";
|
||||
public static final String TARGETFOLDER = ANTLR4GEN + "/target/";
|
||||
|
|
|
@ -31,7 +31,7 @@ public class CodebuffToolFacade {
|
|||
}
|
||||
|
||||
private String downloadURL = "https://github.com/holgerschill/codebuff_mirror/raw/master/codebuff-1.5.1.jar";
|
||||
private boolean askBeforeDownload = true;
|
||||
private boolean askBeforeDownload = false;
|
||||
|
||||
public void setAskBeforeDownload(boolean shouldAsk) {
|
||||
this.askBeforeDownload = shouldAsk;
|
||||
|
|
|
@ -28,8 +28,7 @@ public class Antlr4Grammar extends AntlrGrammar {
|
|||
@Override
|
||||
@Pure
|
||||
public int hashCode() {
|
||||
int result = super.hashCode();
|
||||
return result;
|
||||
return super.hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -49,9 +48,8 @@ public class Antlr4Grammar extends AntlrGrammar {
|
|||
@Override
|
||||
@Pure
|
||||
public String toString() {
|
||||
String result = new ToStringBuilder(this)
|
||||
return new ToStringBuilder(this)
|
||||
.addAllFields()
|
||||
.toString();
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -141,6 +141,7 @@ public class CodebuffAntlrGrammarGenerator extends AbstractAntlrGrammarGenerator
|
|||
return _builder;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected CharSequence compileRule(final Object it, final Grammar grammar, final AntlrOptions options) {
|
||||
if (it instanceof EnumRule) {
|
||||
return _compileRule((EnumRule)it, grammar, options);
|
||||
|
|
Loading…
Reference in a new issue