bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,145 |
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,146 |
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,147 |
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,148 |
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,149 |
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,150 |
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,151 |
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,152 |
public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | public boolean performOk() { // set the workspace auto-build flag IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); if (autoBuildButton.getSelection() != ResourcesPlugin.getWorkspace().isAutoBuilding()) { try { description.setAutoBuilding(autoBuildButton.getSelection()); R... | 3,226,153 |
public IRubyObject downto(RubyNumeric to) { RubyNumeric i = this; while (true) { if (i.callMethod("<", to).isTrue()) { break; } getRuntime().yield(i); i = (RubyNumeric) i.callMethod("-", RubyFixnum.one(getRuntime())); } return th... | public IRubyObject downto(IRubyObject to) { RubyNumeric test = (RubyNumeric) to; RubyNumeric i = this; while (true) { if (i.callMethod("<", to).isTrue()) { break; } getRuntime().yield(i); i = (RubyNumeric) i.callMethod("-", RubyFixnum.one(getR... | 3,226,154 |
public IRubyObject step(RubyNumeric to, RubyNumeric step) { RubyNumeric i = this; if (step.getLongValue() == 0) { throw getRuntime().newArgumentError("step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", getRuntime().newFixnum(0))).isFalse()) ... | public IRubyObject step(IRubyObject to, IRubyObject step) { RubyNumeric test = (RubyNumeric) to; RubyNumeric i = this; if (step.getLongValue() == 0) { throw getRuntime().newArgumentError("step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", ge... | 3,226,155 |
public IRubyObject step(RubyNumeric to, RubyNumeric step) { RubyNumeric i = this; if (step.getLongValue() == 0) { throw getRuntime().newArgumentError("step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", getRuntime().newFixnum(0))).isFalse()) ... | public IRubyObject step(RubyNumeric to, RubyNumeric step) { RubyNumeric i = this; if (((RubyNumeric) step).getLongValue() == 0) { throw getRuntime().newArgumentError("step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", getRuntime().newFixnum(... | 3,226,156 |
public IRubyObject step(RubyNumeric to, RubyNumeric step) { RubyNumeric i = this; if (step.getLongValue() == 0) { throw getRuntime().newArgumentError("step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", getRuntime().newFixnum(0))).isFalse()) ... | public IRubyObject step(RubyNumeric to, RubyNumeric step) { RubyNumeric i = this; if (step.getLongValue() == 0) { throw getRuntime().newArgumentError("step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", getRuntime().newFixnum(0))).isFalse()) ... | 3,226,157 |
public IRubyObject upto(RubyNumeric to) { RubyNumeric i = this; while (true) { if (i.callMethod(">", to).isTrue()) { break; } getRuntime().yield(i); i = (RubyNumeric) i.callMethod("+", RubyFixnum.one(getRuntime())); } return this... | public IRubyObject upto(IRubyObject to) { RubyNumeric test = (RubyNumeric) to; RubyNumeric i = this; while (true) { if (i.callMethod(">", to).isTrue()) { break; } getRuntime().yield(i); i = (RubyNumeric) i.callMethod("+", RubyFixnum.one(getRun... | 3,226,158 |
public IRubyObject upto(RubyNumeric to) { RubyNumeric i = this; while (true) { if (i.callMethod(">", to).isTrue()) { break; } getRuntime().yield(i); i = (RubyNumeric) i.callMethod("+", RubyFixnum.one(getRuntime())); } return this... | public IRubyObject upto(RubyNumeric to) { RubyNumeric i = this; while (true) { if (i.callMethod(">", test).isTrue()) { break; } getRuntime().yield(i); i = (RubyNumeric) i.callMethod("+", RubyFixnum.one(getRuntime())); } return th... | 3,226,159 |
public IRubyObject aref(IRubyObject[] args) { int argc = checkArgumentCount(args, 1, 2); if (argc == 2) { int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); if (beg < 0) { beg += getSize(); } return subs... | public IRubyObject aref(IRubyObject[] args) { int argc = checkArgumentCount(args, 1, 2); if (argc == 2) { int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); if (beg < 0) { beg += getSize(); } return subs... | 3,226,160 |
public IRubyObject offset(RubyFixnum index) { if (outOfBounds(index)) { return getRuntime().getNil(); } return RubyArray.newArray(getRuntime(), new IRubyObject[] { begin(index), end(index)}); } | public IRubyObject offset(RubyFixnum index) { if (outOfBounds(index)) { return getRuntime().getNil(); } return getRuntime().newArray(new IRubyObject[] { begin(index), end(index)}); } | 3,226,161 |
public RubyFixnum size() { return RubyFixnum.newFixnum(getRuntime(), getSize()); } | public RubyFixnum size() { return getRuntime().newFixnum(getSize()); } | 3,226,162 |
public RubyString string() { RubyString frozenString = RubyString.newString(getRuntime(), str); frozenString.freeze(); return frozenString; } | public RubyString string() { RubyString frozenString = getRuntime().newString(str); frozenString.freeze(); return frozenString; } | 3,226,163 |
public RubyArray to_a() { RubyArray arr = RubyArray.newArray(getRuntime(), begin.length); for (long i = 0; i < begin.length; i++) { arr.append(group(i)); } return arr; } | public RubyArray to_a() { RubyArray arr = getRuntime().newArray(begin.length); for (long i = 0; i < begin.length; i++) { arr.append(group(i)); } return arr; } | 3,226,164 |
public RubyString to_s() { return RubyString.newString(getRuntime(), str.substring(begin[0], end[0])); } | public RubyString to_s() { return getRuntime().newString(str.substring(begin[0], end[0])); } | 3,226,165 |
private static Reader getScriptSource() { if (commandline.hasInlineScript()) { return new StringReader(commandline.inlineScript()); } else if (commandline.scriptFileName != null) { File file = new File(commandline.scriptFileName); try { return new Buffer... | private static Reader getScriptSource() { if (commandline.hasInlineScript()) { return new StringReader(commandline.inlineScript()); } else if (sourceFromStdin()) { return new InputStreamReader(System.in); } else { File file = new File(commandline.scriptFileName); try {... | 3,226,167 |
private static Reader getScriptSource() { if (commandline.hasInlineScript()) { return new StringReader(commandline.inlineScript()); } else if (commandline.scriptFileName != null) { File file = new File(commandline.scriptFileName); try { return new Buffer... | private static Reader getScriptSource() { if (commandline.hasInlineScript()) { return new StringReader(commandline.inlineScript()); } else if (commandline.scriptFileName != null) { File file = new File(commandline.scriptFileName); try { return new Buffer... | 3,226,168 |
private static void initializeRuntime(Ruby runtime, String filename) { IRubyObject argumentArray = RubyArray.newArray(runtime, JavaUtil.convertJavaArrayToRuby(runtime, commandline.scriptArguments)); runtime.setVerbose(commandline.verbose); defineGlobal(runtime, "$VERBOSE", commandline.verbose);... | privatestaticvoidinitializeRuntime(Rubyruntime,Stringfilename){IRubyObjectargumentArray=RubyArray.newArray(runtime,JavaUtil.convertJavaArrayToRuby(runtime,commandline.scriptArguments));runtime.setVerbose(commandline.verbose);defineGlobal(runtime,"$VERBOSE",commandline.verbose);runtime.defineGlobalConstant("ARGV",argume... | 3,226,169 |
private RubyClass createRubyClass(Class javaClass, String rubyName) { RubyClass superClass = (RubyClass) loadClass(javaClass.getSuperclass(), null); RubyClass rubyClass = ruby.defineClass(rubyName, superClass); loadedJavaClasses.put(javaClass, rubyClass); defineWrapperMethods(javaClass, ... | private RubyClass createRubyClass(Class javaClass, String rubyName) { Class javaSuperClass = javaClass.getSuperclass(); RubyClass superClass; if (javaSuperClass != null) { superClass = (RubyClass) loadClass(javaSuperClass, null); } else { superClass = ruby.getClasses().getObjectClass(); } RubyClass ru... | 3,226,170 |
public RubyModule loadClass(Class javaClass, String rubyName) { if (javaClass == Object.class) { return ruby.getClasses().getJavaObjectClass(); } if (loadedJavaClasses.containsKey(javaClass)) { return (RubyModule) loadedJavaClasses.get(javaClass); } if (ruby... | public RubyModule loadClass(Class javaClass, String rubyName) { if (javaClass == Object.class) { return ruby.getClasses().getJavaObjectClass(); } if (loadedJavaClasses.containsKey(javaClass)) { return (RubyModule) loadedJavaClasses.get(javaClass); } if (ruby... | 3,226,171 |
public static String xhtmlToDiff(String xhtml, int width, int height) throws Exception { Document doc = Xx.loadDocument(xhtml); Graphics2DRenderer renderer = new Graphics2DRenderer(); renderer.setDocument(doc, new File(xhtml).toURL().toString()); BufferedImage buff = new Buffe... | public static String xhtmlToDiff(String xhtml, int width, int height) throws Exception { Document doc = Xx.loadDocument(xhtml); Graphics2DRenderer renderer = new Graphics2DRenderer(); renderer.setDocument(doc, new File(xhtml).toURL().toString()); BufferedImage buff = new Buffe... | 3,226,172 |
public Image getImage(String uri) { System.out.println("in Naive User Agent get image: " + uri); java.io.InputStream is = null; Image img = null; uri = resolveURI(uri); if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != nu... | public Image getImage(String uri) { java.io.InputStream is = null; Image img = null; uri = resolveURI(uri); if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != null) { img = (Image) ref.get(); } ... | 3,226,173 |
public Box(Box box) { this(); x = box.x; y = box.y; width = box.width; height = box.height; setNode(box.getNode()); setContent(box.getContent()); border = box.border; margin = box.margin; padding = box.padding; color = box.color; } | public Box(Box box) { this(); x = box.x; y = box.y; width = box.width; height = box.height; setNode(box.getNode()); setContent(box.getContent()); border = box.border; margin = box.margin; padding = box.padding; color = box.color; } | 3,226,174 |
public BorderColor getBorderColor() { return bd_color; } | public BorderColor getBorderColor() { return border_color; } | 3,226,175 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | 3,226,176 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | 3,226,177 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ... | 3,226,178 |
public boolean isAnonymous() { return false;//TODO: could be achieved by checking content } | public boolean isAnonymous() { return false;//TODO: could be achieved by checking content } | 3,226,179 |
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); } sb.append(" (... | public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); /*if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); } sb.append("... | 3,226,180 |
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getContent() == null) { sb.append(" null content, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); } sb.append(" (... | public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getContent() == null) { sb.append(" null content, "); }*/ else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); }*/ sb.append... | 3,226,181 |
public RubyNil(Ruby runtime) { super(runtime); } | public RubyNil(Ruby runtime) { super(runtime); } | 3,226,182 |
public static RubyFixnum id(IRubyObject recv) { return RubyFixnum.newFixnum(recv.getRuntime(), 4); } | public static RubyFixnum id(IRubyObject recv) { return recv.getRuntime().newFixnum(4); } | 3,226,183 |
public static RubyString inspect(IRubyObject recv) { return RubyString.newString(recv.getRuntime(), "nil"); } | public static RubyString inspect(IRubyObject recv) { return recv.getRuntime().newString("nil"); } | 3,226,184 |
public static RubyBoolean op_or(IRubyObject recv, IRubyObject obj) { return RubyBoolean.newBoolean(recv.getRuntime(), obj.isTrue()); } | public static RubyBoolean op_or(IRubyObject recv, IRubyObject obj) { return recv.getRuntime().newBoolean(obj.isTrue()); } | 3,226,185 |
public static RubyBoolean op_xor(IRubyObject recv, IRubyObject obj) { return RubyBoolean.newBoolean(recv.getRuntime(), obj.isTrue()); } | public static RubyBoolean op_xor(IRubyObject recv, IRubyObject obj) { return recv.getRuntime().newBoolean(obj.isTrue()); } | 3,226,186 |
public static RubyArray to_a(IRubyObject recv) { return RubyArray.newArray(recv.getRuntime(), 0); } | public static RubyArray to_a(IRubyObject recv) { return recv.getRuntime().newArray(0); } | 3,226,187 |
public static RubyString to_s(IRubyObject recv) { return RubyString.newString(recv.getRuntime(), ""); } | public static RubyString to_s(IRubyObject recv) { return recv.getRuntime().newString(""); } | 3,226,188 |
public boolean isElement() { if(node == null) { u.p("this = " + this); return false; } if ( node.getNodeType() == node.ELEMENT_NODE ) { return true; } return false; } | public boolean isElement() { if(node == null) { return false; } if ( node.getNodeType() == node.ELEMENT_NODE ) { return true; } return false; } | 3,226,190 |
private org.xhtmlrenderer.css.sheet.Ruleset getElementStyle(org.w3c.dom.Element e) { if (_attRes == null || _styleFactory == null) return null; org.xhtmlrenderer.css.sheet.Ruleset rs = (org.xhtmlrenderer.css.sheet.Ruleset) _elStyle.get(e); String style = _attRes.getElementStyling(e); if ... | private org.xhtmlrenderer.css.sheet.Ruleset getElementStyle(org.w3c.dom.Element e) { if (_attRes == null || _styleFactory == null) return null; org.xhtmlrenderer.css.sheet.Ruleset rs = (org.xhtmlrenderer.css.sheet.Ruleset) _elStyle.get(e); String style = _attRes.getElementStyling(e); if ... | 3,226,191 |
public void setApproved(boolean approved) { if (approved != _approved) { _approved = approved; setModified(true); } } | public void setApproved(boolean approved) { if (approved != _approved) { _approved = approved; setModified(true); } } | 3,226,193 |
public void setApprovedByUserId(String approvedByUserId) { if (((approvedByUserId == null) && (_approvedByUserId != null)) || ((approvedByUserId != null) && (_approvedByUserId == null)) || ((approvedByUserId != null) && (_approvedByUserId != null) && !approvedByUserId.equals(_approvedByUserId))) { if (!XSS... | public void setApprovedByUserId(String approvedByUserId) { if (((approvedByUserId == null) && (_approvedByUserId != null)) || ((approvedByUserId != null) && (_approvedByUserId == null)) || ((approvedByUserId != null) && (_approvedByUserId != null) && !approvedByUserId.equals(_approvedByUserId))) { if (!XSS... | 3,226,194 |
public void setApprovedByUserName(String approvedByUserName) { if (((approvedByUserName == null) && (_approvedByUserName != null)) || ((approvedByUserName != null) && (_approvedByUserName == null)) || ((approvedByUserName != null) && (_approvedByUserName != null) && !approvedByUserName.equals(_approvedByUser... | public void setApprovedByUserName(String approvedByUserName) { if (((approvedByUserName == null) && (_approvedByUserName != null)) || ((approvedByUserName != null) && (_approvedByUserName == null)) || ((approvedByUserName != null) && (_approvedByUserName != null) && !approvedByUserName.equals(_approvedByUser... | 3,226,195 |
public void setApprovedDate(Date approvedDate) { if (((approvedDate == null) && (_approvedDate != null)) || ((approvedDate != null) && (_approvedDate == null)) || ((approvedDate != null) && (_approvedDate != null) && !approvedDate.equals(_approvedDate))) { _approvedDate = approvedDate; setModified(true);... | public void setApprovedDate(Date approvedDate) { if (((approvedDate == null) && (_approvedDate != null)) || ((approvedDate != null) && (_approvedDate == null)) || ((approvedDate != null) && (_approvedDate != null) && !approvedDate.equals(_approvedDate))) { _approvedDate = approvedDate; setModified(true);... | 3,226,196 |
public void setArticleId(String articleId) { if (((articleId == null) && (_articleId != null)) || ((articleId != null) && (_articleId == null)) || ((articleId != null) && (_articleId != null) && !articleId.equals(_articleId))) { if (!XSS_ALLOW_ARTICLEID) { articleId = XSSUtil.strip(articleId); } _ar... | public void setArticleId(String articleId) { if (((articleId == null) && (_articleId != null)) || ((articleId != null) && (_articleId == null)) || ((articleId != null) && (_articleId != null) && !articleId.equals(_articleId))) { if (!XSS_ALLOW_ARTICLEID) { articleId = XSSUtil.strip(articleId); } _ar... | 3,226,197 |
public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co... | public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co... | 3,226,198 |
public void setContent(String content) { if (((content == null) && (_content != null)) || ((content != null) && (_content == null)) || ((content != null) && (_content != null) && !content.equals(_content))) { if (!XSS_ALLOW_CONTENT) { content = XSSUtil.strip(content); } _content = content; setModi... | public void setContent(String content) { if (((content == null) && (_content != null)) || ((content != null) && (_content == null)) || ((content != null) && (_content != null) && !content.equals(_content))) { if (!XSS_ALLOW_CONTENT) { content = XSSUtil.strip(content); } _content = content; setModi... | 3,226,199 |
public void setCreateDate(Date createDate) { if (((createDate == null) && (_createDate != null)) || ((createDate != null) && (_createDate == null)) || ((createDate != null) && (_createDate != null) && !createDate.equals(_createDate))) { _createDate = createDate; setModified(true); } } | public void setCreateDate(Date createDate) { if (((createDate == null) && (_createDate != null)) || ((createDate != null) && (_createDate == null)) || ((createDate != null) && (_createDate != null) && !createDate.equals(_createDate))) { _createDate = createDate; setModified(true); } } | 3,226,200 |
public void setDisplayDate(Date displayDate) { if (((displayDate == null) && (_displayDate != null)) || ((displayDate != null) && (_displayDate == null)) || ((displayDate != null) && (_displayDate != null) && !displayDate.equals(_displayDate))) { _displayDate = displayDate; setModified(true); } } | public void setDisplayDate(Date displayDate) { if (((displayDate == null) && (_displayDate != null)) || ((displayDate != null) && (_displayDate == null)) || ((displayDate != null) && (_displayDate != null) && !displayDate.equals(_displayDate))) { _displayDate = displayDate; setModified(true); } } | 3,226,201 |
public void setExpirationDate(Date expirationDate) { if (((expirationDate == null) && (_expirationDate != null)) || ((expirationDate != null) && (_expirationDate == null)) || ((expirationDate != null) && (_expirationDate != null) && !expirationDate.equals(_expirationDate))) { _expirationDate = expirationDa... | public void setExpirationDate(Date expirationDate) { if (((expirationDate == null) && (_expirationDate != null)) || ((expirationDate != null) && (_expirationDate == null)) || ((expirationDate != null) && (_expirationDate != null) && !expirationDate.equals(_expirationDate))) { _expirationDate = expirationDa... | 3,226,202 |
public void setExpired(boolean expired) { if (expired != _expired) { _expired = expired; setModified(true); } } | public void setExpired(boolean expired) { if (expired != _expired) { _expired = expired; setModified(true); } } | 3,226,203 |
public void setGroupId(String groupId) { if (((groupId == null) && (_groupId != null)) || ((groupId != null) && (_groupId == null)) || ((groupId != null) && (_groupId != null) && !groupId.equals(_groupId))) { if (!XSS_ALLOW_GROUPID) { groupId = XSSUtil.strip(groupId); } _groupId = groupId; setModi... | public void setGroupId(String groupId) { if (((groupId == null) && (_groupId != null)) || ((groupId != null) && (_groupId == null)) || ((groupId != null) && (_groupId != null) && !groupId.equals(_groupId))) { if (!XSS_ALLOW_GROUPID) { groupId = XSSUtil.strip(groupId); } _groupId = groupId; setModi... | 3,226,204 |
public void setModifiedDate(Date modifiedDate) { if (((modifiedDate == null) && (_modifiedDate != null)) || ((modifiedDate != null) && (_modifiedDate == null)) || ((modifiedDate != null) && (_modifiedDate != null) && !modifiedDate.equals(_modifiedDate))) { _modifiedDate = modifiedDate; setModified(true);... | public void setModifiedDate(Date modifiedDate) { if (((modifiedDate == null) && (_modifiedDate != null)) || ((modifiedDate != null) && (_modifiedDate == null)) || ((modifiedDate != null) && (_modifiedDate != null) && !modifiedDate.equals(_modifiedDate))) { _modifiedDate = modifiedDate; setModified(true);... | 3,226,205 |
public void setReviewDate(Date reviewDate) { if (((reviewDate == null) && (_reviewDate != null)) || ((reviewDate != null) && (_reviewDate == null)) || ((reviewDate != null) && (_reviewDate != null) && !reviewDate.equals(_reviewDate))) { _reviewDate = reviewDate; setModified(true); } } | public void setReviewDate(Date reviewDate) { if (((reviewDate == null) && (_reviewDate != null)) || ((reviewDate != null) && (_reviewDate == null)) || ((reviewDate != null) && (_reviewDate != null) && !reviewDate.equals(_reviewDate))) { _reviewDate = reviewDate; setModified(true); } } | 3,226,206 |
public void setStructureId(String structureId) { if (((structureId == null) && (_structureId != null)) || ((structureId != null) && (_structureId == null)) || ((structureId != null) && (_structureId != null) && !structureId.equals(_structureId))) { if (!XSS_ALLOW_STRUCTUREID) { structureId = XSSUtil.str... | public void setStructureId(String structureId) { if (((structureId == null) && (_structureId != null)) || ((structureId != null) && (_structureId == null)) || ((structureId != null) && (_structureId != null) && !structureId.equals(_structureId))) { if (!XSS_ALLOW_STRUCTUREID) { structureId = XSSUtil.str... | 3,226,207 |
public void setTemplateId(String templateId) { if (((templateId == null) && (_templateId != null)) || ((templateId != null) && (_templateId == null)) || ((templateId != null) && (_templateId != null) && !templateId.equals(_templateId))) { if (!XSS_ALLOW_TEMPLATEID) { templateId = XSSUtil.strip(templateI... | public void setTemplateId(String templateId) { if (((templateId == null) && (_templateId != null)) || ((templateId != null) && (_templateId == null)) || ((templateId != null) && (_templateId != null) && !templateId.equals(_templateId))) { if (!XSS_ALLOW_TEMPLATEID) { templateId = XSSUtil.strip(templateI... | 3,226,208 |
public void setTitle(String title) { if (((title == null) && (_title != null)) || ((title != null) && (_title == null)) || ((title != null) && (_title != null) && !title.equals(_title))) { if (!XSS_ALLOW_TITLE) { title = XSSUtil.strip(title); } _title = title; setModified(true); } } | public void setTitle(String title) { if (((title == null) && (_title != null)) || ((title != null) && (_title == null)) || ((title != null) && (_title != null) && !title.equals(_title))) { if (!XSS_ALLOW_TITLE) { title = XSSUtil.strip(title); } _title = title; setModified(true); } } | 3,226,209 |
public void setType(String type) { if (((type == null) && (_type != null)) || ((type != null) && (_type == null)) || ((type != null) && (_type != null) && !type.equals(_type))) { if (!XSS_ALLOW_TYPE) { type = XSSUtil.strip(type); } _type = type; setModified(true); } } | public void setType(String type) { if (((type == null) && (_type != null)) || ((type != null) && (_type == null)) || ((type != null) && (_type != null) && !type.equals(_type))) { if (!XSS_ALLOW_TYPE) { type = XSSUtil.strip(type); } _type = type; setModified(true); } } | 3,226,210 |
public void setUserId(String userId) { if (((userId == null) && (_userId != null)) || ((userId != null) && (_userId == null)) || ((userId != null) && (_userId != null) && !userId.equals(_userId))) { if (!XSS_ALLOW_USERID) { userId = XSSUtil.strip(userId); } _userId = userId; setModified(true); } ... | public void setUserId(String userId) { if (((userId == null) && (_userId != null)) || ((userId != null) && (_userId == null)) || ((userId != null) && (_userId != null) && !userId.equals(_userId))) { if (!XSS_ALLOW_USERID) { userId = XSSUtil.strip(userId); } _userId = userId; setModified(true); } ... | 3,226,211 |
public void setUserName(String userName) { if (((userName == null) && (_userName != null)) || ((userName != null) && (_userName == null)) || ((userName != null) && (_userName != null) && !userName.equals(_userName))) { if (!XSS_ALLOW_USERNAME) { userName = XSSUtil.strip(userName); } _userName = user... | public void setUserName(String userName) { if (((userName == null) && (_userName != null)) || ((userName != null) && (_userName == null)) || ((userName != null) && (_userName != null) && !userName.equals(_userName))) { if (!XSS_ALLOW_USERNAME) { userName = XSSUtil.strip(userName); } _userName = user... | 3,226,212 |
public void setVersion(double version) { if (version != _version) { _version = version; setModified(true); } } | public void setVersion(double version) { if (version != _version) { _version = version; setModified(true); } } | 3,226,213 |
private void newContext( Graphics g ) { //u.p("new context begin"); //Point origin = new Point( 0, 0 ); //Point last = new Point( 0, 0 ); getContext().canvas = this; getContext().graphics = g; // set up the dimensions of the html canvas //Rectangle dimensions = new R... | private void newContext( Graphics g ) { //u.p("new context begin"); //Point origin = new Point( 0, 0 ); //Point last = new Point( 0, 0 ); getContext().canvas = this; getContext().graphics = g; // set up the dimensions of the html canvas //Rectangle dimensions = new R... | 3,226,214 |
protected void checkArguments() { if (Validator.isNull(baseDir)) { throw new IllegalArgumentException( "The system property deployer.base.dir is not set"); } if (Validator.isNull(destDir)) { throw new IllegalArgumentException( "The system property deployer.dest.dir is not set"); } if (Validator.isNull(a... | protected void checkArguments() { if (Validator.isNull(baseDir)) { throw new IllegalArgumentException( "The system property deployer.base.dir is not set"); } if (Validator.isNull(destDir)) { throw new IllegalArgumentException( "The system property deployer.dest.dir is not set"); } if (Validator.isNull(a... | 3,226,217 |
protected void deploy() throws Exception { try { File[] files = FileUtil.sortFiles(new File(baseDir).listFiles()); for (int i = 0; i < files.length; i++) { File srcFile = files[i]; boolean deploy = false; if (srcFile.getName().endsWith(".war")) { deploy = true; if ((wars.size() > 0) && (!wa... | protected void deploy() throws Exception { try { File[] files = FileUtil.sortFiles(new File(baseDir).listFiles()); for (int i = 0; i < files.length; i++) { File srcFile = files[i]; boolean deploy = false; if (srcFile.getName().endsWith(".war")) { deploy = true; if ((wars.size() > 0) && (!wa... | 3,226,218 |
protected String getDisplayName(File srcFile) { String displayName = srcFile.getName(); displayName = displayName.substring(0, displayName.length() - 4); if (displayName.startsWith(jbossPrefix)) { displayName = displayName.substring(1, displayName.length()); } return displayName; } | protected String getDisplayName(File srcFile) { String displayName = srcFile.getName(); displayName = displayName.substring(0, displayName.length() - 4); if (displayName.startsWith(jbossPrefix)) { displayName = displayName.substring(1, displayName.length()); } return displayName; } | 3,226,219 |
protected String getDisplayName(File srcFile) { String displayName = srcFile.getName(); displayName = displayName.substring(0, displayName.length() - 4); if (displayName.startsWith(jbossPrefix)) { displayName = displayName.substring(1, displayName.length()); } return displayName; } | protected String getDisplayName(File srcFile) { String displayName = srcFile.getName(); displayName = displayName.substring(0, displayName.length() - 4); if (displayName.startsWith(jbossPrefix)) { displayName = displayName.substring(1, displayName.length()); } return displayName; } | 3,226,220 |
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { if (newInput instanceof NavigatorContentService) contentService = (INavigatorContentService) newInput; } | public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { if (newInput instanceof NavigatorContentService) contentService = (INavigatorContentService) newInput; } | 3,226,221 |
public com.liferay.portal.model.LayoutSet update( com.liferay.portal.model.LayoutSet layoutSet) throws SystemException { Session session = null; try { if (layoutSet.isNew() || layoutSet.isModified()) { session = openSession(); if (layoutSet.isNew()) { LayoutSet layoutSetModel = new LayoutSet(); layo... | public com.liferay.portal.model.LayoutSet update( com.liferay.portal.model.LayoutSet layoutSet) throws SystemException { Session session = null; try { if (layoutSet.isNew() || layoutSet.isModified()) { session = openSession(); if (layoutSet.isNew()) { LayoutSet layoutSetModel = new LayoutSet(); layo... | 3,226,222 |
public void openInternal(String path, IOModes modes) { this.path = path; this.modes = modes; try { handler = new IOHandlerSeekable(getRuntime(), path, modes); registerIOHandler(handler); } catch (IOException e) { throw IOError.fromException(ge... | public void openInternal(String path, IOModes modes) { this.path = path; this.modes = modes; try { handler = new IOHandlerSeekable(getRuntime(), path, modes); registerIOHandler(handler); } catch (IOException e) { throw IOError.fromException(ge... | 3,226,224 |
public void openInternal(String path, IOModes modes) { this.path = path; this.modes = modes; try { handler = new IOHandlerSeekable(getRuntime(), path, modes); registerIOHandler(handler); } catch (IOException e) { throw IOError.fromException(ge... | public void openInternal(String path, IOModes modes) { this.path = path; this.modes = modes; try { handler = new IOHandlerSeekable(getRuntime(), newPath, newModes); registerIOHandler(handler); } catch (IOException e) { throw IOError.fromExcept... | 3,226,225 |
public static void positionFixedChild(Context c, Box box) { if (LayoutUtil.isFixed(c.getCss().getCascadedStyle(box.element, false))) {//already restyled by ContentUtil Point origin = c.getOriginOffset(); box.x = 0; box.y = 0; box.x -= origin.x; box.y -= ... | public static void positionFixedChild(Context c, Box box) { if (LayoutUtil.isFixed(c.getCss().getCascadedStyle(box.element, false))) {//already restyled by ContentUtil Point origin = c.getOriginOffset(); box.x = 0; box.y = 0; box.x -= origin.x; box.y -= ... | 3,226,226 |
public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setFixedDescendant(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | public static void setupFixed(Context c, Box box) { if (c.getCurrentStyle().isIdent(CSSName.POSITION, IdentValue.FIXED)) { box.fixed = true; box.setFixedDescendant(true); Rectangle rect = c.getFixedRectangle(); CalculatedStyle style = c.getCurrentStyle(); ... | 3,226,227 |
public ILabelProvider getLabelProvider() { if (labelProvider == null) { labelProvider = new LabelProvider(); } return labelProvider; } | public ILabelProvider getLabelProvider() { if (labelProvider == null) { labelProvider = new LabelProvider(); } return labelProvider; } | 3,226,228 |
private Color modify(Color color, double dS, double dB) { float[] hsb = Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null); // //decreasing brightness and saturation gives a "shadowier", "blacker" look //0.0 brightness gives black //0.0 saturation gives graysc... | private static Color modify(Color color, double dS, double dB) { float[] hsb = Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null); // //decreasing brightness and saturation gives a "shadowier", "blacker" look //0.0 brightness gives black //0.0 saturation gives... | 3,226,229 |
public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if (getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslati... | 3,226,231 |
public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | 3,226,232 |
public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | 3,226,233 |
public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | 3,226,234 |
public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | public void run() { String tooltip = Translation.getTranslation("general.powerfolder") + " " + getController().getMySelf().getNick(); if ( getController().getFolderRepository().isAnyFolderSyncing()) { tooltip += " " + Translation.getTranslat... | 3,226,235 |
public String getUIThemeConfig() { return PreferencesEntry.UI_COLOUR_THEME.getValueString(getController()); } | public String getUIThemeConfig() { return PreferencesEntry.UI_COLOUR_THEME.getValueString(getController()); } | 3,226,236 |
public void hideSplash() { if (splash != null) { splash.shutdown(); } } | public void hideSplash() { if (splash != null) { splash.shutdown(); } } | 3,226,237 |
public static boolean canFitOnLine(Context c, Node node, int start, String text, int avail, Font font) { // if the rest of text can fit on the current line // if length of remaining text < available width //u.p("avail = " + avail + " len = " + FontUtil.len(c,node,text.substring(start))); ... | public static boolean canFitOnLine(Context c, Node node, int start, String text, int avail, Font font) { // if the rest of text can fit on the current line // if length of remaining text < available width //u.p("avail = " + avail + " len = " + FontUtil.len(c,node,text.substring(start))); ... | 3,226,238 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 3,226,239 |
public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | public static InlineBox generateFirstLetterInlineBox(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start); ... | 3,226,240 |
public static InlineBox generateMultilineBreak(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { int extra = 0; // calc end index to most words that will fit int end = start; int dbcount = 0;... | public static InlineBox generateMultilineBreak(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { int extra = 0; // calc end index to most words that will fit int end = start; int dbcount = 0;... | 3,226,241 |
public static InlineBox generateMultilineBreak(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { int extra = 0; // calc end index to most words that will fit int end = start; int dbcount = 0;... | public static InlineBox generateMultilineBreak(Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail) { int extra = 0; // calc end index to most words that will fit int end = start; int dbcount = 0;... | 3,226,242 |
public static boolean isFirstLetter(Context c, Node node, int start) { //u.p("looking at node: " + node); //u.p("start = " + start); if (start > 0) { return false; } if (node == null) { return false; } //u.p("parent's first child = " + node.getP... | public static boolean isFirstLetter(Context c, Node node, int start) { //u.p("looking at node: " + node); //u.p("start = " + start); if (start > 0) { return false; } if (node == null) { return false; } //u.p("parent's first child = " + node.getP... | 3,226,243 |
public static boolean isUnbreakableLine(Context c, Node node, int start, String text, int avail, Font font) { //u.p("isUnbreakableLine( start = " + start + " text = " + text + " avail = " + avail + " font = " + font); // extract the first real word from the text int first_word_index = text.inde... | public static boolean isUnbreakableLine(Context c, Node node, int start, String text, int avail, Font font) { //u.p("isUnbreakableLine( start = " + start + " text = " + text + " avail = " + avail + " font = " + font); // extract the first real word from the text int first_word_index = text.inde... | 3,226,244 |
public static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration(style, box.getNode(), box); Font font = FontUtil.getFont(c, style, box.getNode()); box.setFont(font); box.width = FontUtil.len(c, b... | public static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration(style, box.getNode(), box); Font font = FontUtil.getFont(c, style); box.setFont(font); box.width = FontUtil.len(c, box.getSubstring... | 3,226,245 |
public static boolean isNotInFlow(Object target) { return target instanceof AbsolutelyPositionedContent || target instanceof FloatedBlockContent; } | public static boolean isNotInFlow(Object target) { return target instanceof AbsolutelyPositionedContent || target instanceof FloatedBlockContent; } | 3,226,246 |
private void setLayoutDataForContents() { updateLayoutDataForContents(); if (getWindowConfigurer().getShowFastViewBars() && fastViewBar != null) { fastViewBar.addDockingListener(new IChangeListener() { public void update(boolean changed) { Control reference... | private void setLayoutDataForContents() { updateLayoutDataForContents(); if (getWindowConfigurer().getShowFastViewBars() && fastViewBar != null) { fastViewBar.addDockingListener(new IChangeListener() { public void update(boolean changed) { Control reference... | 3,226,247 |
public void update(boolean changed) { Control reference = null; int side = fastViewBar.getSide(); fastViewBar.getControl().setLayoutData( new TrimLayoutData(side != SWT.BOTTOM, SWT.DEFAULT, ... | public void update(boolean changed) { Control reference = null; int side = fastViewBar.getSide(); fastViewBar.getControl().setLayoutData( new TrimLayoutData(false, SWT.DEFAULT, SWT.DEFA... | 3,226,248 |
private String _translate(String translationId, String fromText) { if (translationId.equals("en_cs") || translationId.equals("en_hu") || translationId.equals("en_ru") || translationId.equals("en_tr") || translationId.equals("en_vi")) { // Automatic translator does not support Czech, Hungarian, Russian, //... | private String _translate(String translationId, String fromText) { if (translationId.equals("en_cs") || translationId.equals("en_hu") || translationId.equals("en_ru") || translationId.equals("en_tr") || translationId.equals("en_vi")) { // Automatic translator does not support Czech, Hungarian, Russian, //... | 3,226,250 |
private String _translate(String translationId, String fromText) { if (translationId.equals("en_cs") || translationId.equals("en_hu") || translationId.equals("en_ru") || translationId.equals("en_tr") || translationId.equals("en_vi")) { // Automatic translator does not support Czech, Hungarian, Russian, //... | private String _translate(String translationId, String fromText) { if (translationId.equals("en_cs") || translationId.equals("en_hu") || translationId.equals("en_ru") || translationId.equals("en_tr") || translationId.equals("en_vi")) { // Automatic translator does not support Czech, Hungarian, Russian, //... | 3,226,251 |
public void init(ServletConfig sc) throws ServletException { synchronized (FriendlyURLServlet.class) { super.init(sc); ServletContext ctx = getServletContext(); _companyId = ctx.getInitParameter("company_id"); _private = GetterUtil.getBoolean(sc.getInitParameter("private")); } } | public void init(ServletConfig sc) throws ServletException { synchronized (FriendlyURLServlet.class) { super.init(sc); ServletContext ctx = getServletContext(); _companyId = ctx.getInitParameter("company_id"); _private = GetterUtil.getBoolean(sc.getInitParameter("private")); } } | 3,226,252 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.