bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void actionPerformed(ActionEvent e) { if (e.getSource() == doNotAutoDownloadJCheckBoxMenuItem) { boolean add = doNotAutoDownloadJCheckBoxMenuItem.isSelected(); Object target = getUIController().getInformationQuarter() .getDisplayTarget(); ...
public void actionPerformed(ActionEvent e) { if (e.getSource() == doNotAutoDownloadJCheckBoxMenuItem) { boolean add = doNotAutoDownloadJCheckBoxMenuItem.isSelected(); Object target = getUIController().getInformationQuarter() .getDisplayTarget(); ...
3,226,369
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
3,226,370
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
3,226,371
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
3,226,372
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
3,226,373
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
3,226,374
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
3,226,375
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
public void init() { URL url = null; url = this.getClass().getClassLoader().getResource("images/Stop24.gif"); stop = new AbstractAction("", new ImageIcon(url)) { public void actionPerformed(ActionEvent evt) { // TODO: stop not coded System.out.println("s...
3,226,376
public void actionPerformed(ActionEvent evt) { try { FileDialog fd = new FileDialog(root.frame, "Open a local file", FileDialog.LOAD); fd.show(); if (fd.getFile() != null) { ...
public void actionPerformed(ActionEvent evt) { try { FileDialog fd = new FileDialog(root.frame, "Open a local file", FileDialog.LOAD); fd.show(); if (fd.getFile() != null) { ...
3,226,378
public void actionPerformed(ActionEvent evt) { try { SharedContext sharedContext = root.panel.view.getSharedContext(); if (sharedContext.isPrint()) { sharedContext.setPrint(false); sharedContext.setInteractive...
public void actionPerformed(ActionEvent evt) { try { SharedContext sharedContext = root.panel.view.getSharedContext(); if (sharedContext.isPrint()) { sharedContext.setPrint(false); sharedContext.setInteractive...
3,226,379
public static String getServerId() { ServerDetector sd = _instance; if (sd._serverId == null) { if (ServerDetector.isJBoss()) { sd._serverId = "jboss"; } else if (ServerDetector.isJOnAS()) { sd._serverId = "jonas"; } else if (ServerDetector.isOC4J()) { sd._serverId = "oc4j"; } else if (ServerD...
public static String getServerId() { ServerDetector sd = _instance; if (sd._serverId == null) { if (ServerDetector.isJBoss()) { sd._serverId = "jboss"; } else if (ServerDetector.isJOnAS()) { sd._serverId = "jonas"; } else if (ServerDetector.isOC4J()) { sd._serverId = "oc4j"; } else if (ServerD...
3,226,380
protected Font resolveFont(Context c, String font, float size, String weight, String style) { // normalize the font name if(font.equals("serif")) { font = "Serif"; } if(font.equals("sans-serif")) { font = "SansSerif"; } if(font.equals("monospace")) { ...
protected Font resolveFont(Context c, String font, float size, String weight, String style) { // normalize the font name if(font.equals("serif")) { font = "Serif"; } if(font.equals("sans-serif")) { font = "SansSerif"; } if(font.equals("monospace")) { ...
3,226,381
public static IRubyObject[] setupArgs(ThreadContext context, EvaluateVisitor visitor, INode node) { if (node == null) { return IRubyObject.NULL_ARRAY; } final ISourcePosition position = context.getPosition(); if (node instanceof ArrayNode) { final int size = ((Array...
public static IRubyObject[] setupArgs(Ruby runtime, ThreadContext context, EvaluateVisitor visitor, INode node) { if (node == null) { return IRubyObject.NULL_ARRAY; } final ISourcePosition position = context.getPosition(); if (node instanceof ArrayNode) { final int ...
3,226,382
public static IRubyObject[] setupArgs(ThreadContext context, EvaluateVisitor visitor, INode node) { if (node == null) { return IRubyObject.NULL_ARRAY; } final ISourcePosition position = context.getPosition(); if (node instanceof ArrayNode) { final int size = ((Array...
public static IRubyObject[] setupArgs(ThreadContext context, EvaluateVisitor visitor, INode node) { if (node == null) { return IRubyObject.NULL_ARRAY; } final ISourcePosition position = context.getPosition(); if (node instanceof ArrayNode) { final int size = ((Array...
3,226,383
public static IRubyObject[] setupArgs(ThreadContext context, EvaluateVisitor visitor, INode node) { if (node == null) { return IRubyObject.NULL_ARRAY; } final ISourcePosition position = context.getPosition(); if (node instanceof ArrayNode) { final int size = ((Array...
public static IRubyObject[] setupArgs(ThreadContext context, EvaluateVisitor visitor, INode node) { if (node == null) { return IRubyObject.NULL_ARRAY; } final ISourcePosition position = context.getPosition(); if (node instanceof ArrayNode) { final int size = ((Array...
3,226,384
public static IRubyObject[] setupArgs(ThreadContext context, EvaluateVisitor visitor, INode node) { if (node == null) { return IRubyObject.NULL_ARRAY; } final ISourcePosition position = context.getPosition(); if (node instanceof ArrayNode) { final int size = ((Array...
public static IRubyObject[] setupArgs(ThreadContext context, EvaluateVisitor visitor, INode node) { if (node == null) { return IRubyObject.NULL_ARRAY; } final ISourcePosition position = context.getPosition(); if (node instanceof ArrayNode) { final int size = ((Array...
3,226,385
public final boolean equals(final Object object) { if (object instanceof AndExpression) { final AndExpression that = (AndExpression) object; return Util.equals(this.fExpressions, that.fExpressions); } return false; }
public final boolean equals(final Object object) { if (object instanceof AndExpression) { final AndExpression that = (AndExpression) object; return Util.equals(this.fExpressions, that.fExpressions); } return false; }
3,226,386
protected void infectBy(IRubyObject obj) { setTaint(isTaint() || obj.isTaint()); }
protected IRubyObject infectBy(IRubyObject obj) { setTaint(isTaint() || obj.isTaint()); }
3,226,387
public IRubyObject methods() { return getMetaClass().instance_methods(new IRubyObject[] { getRuntime().getTrue()}); }
public IRubyObject methods() { return getMetaClass().public_instance_methods(new IRubyObject[] { getRuntime().getTrue()}); }
3,226,389
public void resetPropertyValue(Object property) { if (P_ID_POSTALCODE.equals(property)) { setPostalCode(POSTALCODE_DEFAULT); return; } if (P_ID_CITY.equals(property)) { setCity(CITY_DEFAULT); return; } if (P_ID_PROVINCE.equals(property)) { setProvince(PROVINCE_DEFAULT); return; }; if (P_ID_STREET.equals(property)...
public void resetPropertyValue(Object property) { if (P_ID_POSTALCODE.equals(property)) { setPostalCode(POSTALCODE_DEFAULT); return; } if (P_ID_CITY.equals(property)) { setCity(CITY_DEFAULT); return; } if (P_ID_PROVINCE.equals(property)) { setProvince(PROVINCE_DEFAULT); return; }; if (P_ID_STREET.equals(property)...
3,226,390
public String getLinkUri(org.w3c.dom.Element e) { String href = null; if (e.getNodeName().equalsIgnoreCase("a") && !e.getAttribute("href").equals("")) { href = e.getAttribute("href"); } return href; }
public String getLinkUri(org.w3c.dom.Element e) { String href = null; if (e.getNodeName().equalsIgnoreCase("a") && e.hasAttribute("href")) { href = e.getAttribute("href"); } return href; }
3,226,391
public static Color getBackgroundColor(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.background_color == null) { CalculatedStyle style = box.getContent().getStyle(); if (style.isIdentifier(CSSName.BACKGROUND_COLOR)) { ...
public static Color getBackgroundColor(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.background_color == null) { CalculatedStyle style = box.getContent().getStyle(); if (style.isIdentifier(CSSName.BACKGROUND_COLOR)) { ...
3,226,392
public static Color getBackgroundColor(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.background_color == null) { CalculatedStyle style = box.getContent().getStyle(); if (style.isIdentifier(CSSName.BACKGROUND_COLOR)) { ...
public static Color getBackgroundColor(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.background_color == null) { CalculatedStyle style = box.getContent().getStyle(); if (style.isIdentifier(CSSName.BACKGROUND_COLOR)) { ...
3,226,393
public static Border getMargin(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.margin == null) { box.margin = box.getContent().getStyle().getMarginWidth(); } } return box.margin; }
public static Border getMargin(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.margin == null) { box.margin = box.getContent().getStyle().getMarginWidth(); } } return box.margin; }
3,226,395
public static Border getPadding(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.padding == null) { box.padding = box.getContent().getStyle().getPaddingWidth(); } } return box.padding; }
public static Border getPadding(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.padding == null) { box.padding = box.getContent().getStyle().getPaddingWidth(); } } return box.padding; }
3,226,397
public void restyle(Context ctx, Box box) { box.color = ctx.css.getStyle(box.getRealElement()).getColor(); box.setBorderColor(ctx.css.getStyle(box.getRealElement()).getBorderColor()); box.border_style = ctx.css.getStyle(box.getRealElement()).getStringProperty("border-top-style"); box.bac...
public void restyle(Context ctx, Box box) { box.color = ctx.css.getStyle(box.getRealElement()).getColor(); box.border_color = ctx.css.getStyle(box.getRealElement()).getBorderColor(); box.border_style = ctx.css.getStyle(box.getRealElement()).getStringProperty("border-top-style"); box.back...
3,226,399
public void createControl(Composite parent) { IDialogSettings settings = getDialogSettings(); newResourcePage = new NewWizardNewPage(this, this.workbench, wizardCategories); newResourcePage.setDialogSettings(settings); Control control = newResourcePage.createControl(parent); WorkbenchHelp.setHelp(contro...
public void createControl(Composite parent) { IDialogSettings settings = getDialogSettings(); newResourcePage = new NewWizardNewPage(this, this.workbench, wizardCategories, primaryWizards); newResourcePage.setDialogSettings(settings); Control control = newResourcePage.createControl(parent); WorkbenchHel...
3,226,400
public IRubyObject equal(IRubyObject other) { // Symbol table ensures only one instance for every name, // so object identity is enough to compare symbols. return RubyBoolean.newBoolean(runtime, this == other); }
public IRubyObject equal(IRubyObject other) { // Symbol table ensures only one instance for every name, // so object identity is enough to compare symbols. return getRuntime().newBoolean(this == other); }
3,226,401
public RubyFixnum hash() { return RubyFixnum.newFixnum(runtime, symbol.hashCode()); }
public RubyFixnum hash() { return getRuntime().newFixnum(symbol.hashCode()); }
3,226,402
public RubyString inspect() { return RubyString.newString(getRuntime(), ":" + symbol); }
public RubyString inspect() { return getRuntime().newString(":" + symbol); }
3,226,403
public IRubyObject rbClone() { throw new TypeError(getRuntime(), "can't clone Symbol"); }
public IRubyObject rbClone() { throw getRuntime().newTypeError("can't clone Symbol"); }
3,226,404
public RubyFixnum to_i() { return RubyFixnum.newFixnum(runtime, id); }
public RubyFixnum to_i() { return getRuntime().newFixnum(id); }
3,226,405
public RubyString to_s() { return RubyString.newString(getRuntime(), symbol); }
public RubyString to_s() { return getRuntime().newString(symbol); }
3,226,406
private FSDerivedValue valueByName(CSSName cssName) { FSDerivedValue val = _derivedValuesById[cssName.FS_ID]; // but the property may not be defined for this Element if (val == null) { // if it is inheritable (like color) and we are not root, ask our parent // for the valu...
private FSDerivedValue valueByName(CSSName cssName) { FSDerivedValue val = _derivedValuesById[cssName.FS_ID]; // but the property may not be defined for this Element if (val == null) { // if it is inheritable (like color) and we are not root, ask our parent // for the valu...
3,226,407
protected void executeRenderThread(Context c) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && expl...
protected void executeRenderThread(Context c) { //Uu.p("do render called"); //Uu.p("last render event = " + last_event); // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics) && expl...
3,226,408
public FacesContext getFacesContext( Object context, Object request, Object response, Lifecycle lifecycle) throws FacesException { if (context instanceof PortletContext) { return new MyFacesContextImpl( (PortletContext)context, (PortletRequest)request, (PortletResponse)response); } throw new FacesExcep...
public FacesContext getFacesContext( Object context, Object request, Object response, Lifecycle lifecycle) throws FacesException { if (context instanceof PortletContext) { return new MyFacesContextImpl( (PortletContext)context, (PortletRequest)request, (PortletResponse)response); } throw new FacesExcep...
3,226,410
public Group addGroup( String className, String classPK, String name, String friendlyURL) throws PortalException, SystemException { return GroupLocalServiceUtil.addGroup( getUser().getCompanyId(), className, classPK, name, friendlyURL); }
public Group addGroup( String className, String classPK, String name, String friendlyURL) throws PortalException, SystemException { return GroupLocalServiceUtil.addGroup( getUser().getCompanyId(), className, classPK, name, friendlyURL); }
3,226,411
public Group addGroup( String className, String classPK, String name, String friendlyURL) throws PortalException, SystemException { return GroupLocalServiceUtil.addGroup( getUser().getCompanyId(), className, classPK, name, friendlyURL); }
public Group addGroup( String className, String classPK, String name, String friendlyURL) throws PortalException, SystemException { return GroupLocalServiceUtil.addGroup( getUser().getCompanyId(), className, classPK, name, friendlyURL); }
3,226,412
public com.liferay.portlet.documentlibrary.model.DLFileRank update( com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) throws SystemException { Session session = null; try { if (dlFileRank.isNew() || dlFileRank.isModified()) { session = openSession(); if (dlFileRank.isNew()) { DLFileRank ...
public com.liferay.portlet.documentlibrary.model.DLFileRank update( com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank) throws SystemException { Session session = null; try { if (dlFileRank.isNew() || dlFileRank.isModified()) { session = openSession(); if (dlFileRank.isNew()) { DLFileRank ...
3,226,413
private File[] getFiles() { String[] dirs = splitPattern(); File root = new File(dirs[0]); int idx = 1; if (dirs[0].indexOf('*') > -1 || dirs[0].indexOf('?') > -1) { root = new File("."); idx = 0; } for (int size = dirs.length; idx < size; idx++) { ...
private File[] getFiles() { String[] dirs = splitPattern(); File root = new File(dirs[0]); int idx = 1; if (glob2Regexp(dirs[0]) != null) { root = new File("."); idx = 0; } for (int size = dirs.length; idx < size; idx++) { if (dirs[idx].inde...
3,226,414
private File[] getFiles() { String[] dirs = splitPattern(); File root = new File(dirs[0]); int idx = 1; if (dirs[0].indexOf('*') > -1 || dirs[0].indexOf('?') > -1) { root = new File("."); idx = 0; } for (int size = dirs.length; idx < size; idx++) { ...
private File[] getFiles() { String[] dirs = splitPattern(); File root = new File(dirs[0]); int idx = 1; if (dirs[0].indexOf('*') > -1 || dirs[0].indexOf('?') > -1) { root = new File("."); idx = 0; } for (int size = dirs.length; idx < size; idx++) { ...
3,226,415
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { FileFilter filter = new FileFilter() { FilenameFilter filter = new GlobFilenameFilter(pattern); /** * @see java.io.FileFilter#accept(File) */ ...
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { FileFilter filter = new FileFilter() { FilenameFilter filter = new GlobFilenameFilter(pattern); /** * @see java.io.FileFilter#accept(File) */ ...
3,226,416
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { FileFilter filter = new FileFilter() { FilenameFilter filter = new GlobFilenameFilter(pattern); /** * @see java.io.FileFilter#accept(File) */ ...
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { FileFilter filter = new FileFilter() { FilenameFilter filter = new GlobFilenameFilter(pattern); /** * @see java.io.FileFilter#accept(File) */ ...
3,226,417
public boolean accept(File pathname) { return (pathname.isDirectory() || !isDirectory) && SelectorUtils.matchPath(pattern, pathname.getName()); }
public boolean accept(File pathname) { return (pathname.isDirectory() || !isDirectory) && p.matcher(pathname.getName()).matches(); }
3,226,418
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == '/' || path.charAt(i) == '\\') { if (sb...
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == '/' || path.charAt(i) == '\\') { if (sb...
3,226,419
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == '/' || path.charAt(i) == '\\') { if (sb...
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == '/' || path.charAt(i) == '\\') { if (sb...
3,226,420
public static java.util.List getOrgLabors(java.lang.String organizationId) throws com.liferay.portal.SystemException { try { OrgLaborService orgLaborService = OrgLaborServiceFactory.getService(); return orgLaborService.getOrgLabors(organizationId); } catch (com.liferay.portal.SystemException se) { throw se; ...
public static java.util.List getOrgLabors(java.lang.String organizationId) throws com.liferay.portal.SystemException { try { OrgLaborService orgLaborService = OrgLaborServiceFactory.getService(); return orgLaborService.getOrgLabors(organizationId); } catch (com.liferay.portal.SystemException se) { throw se; ...
3,226,421
public static com.liferay.portal.model.GroupModel getGroup( java.lang.String companyId, java.lang.String name) throws RemoteException { try { com.liferay.portal.model.Group returnValue = GroupServiceUtil.getGroup(companyId, name); return returnValue; } catch (Exception e) { String stackTrace = StackTrac...
public static com.liferay.portal.model.GroupModel getGroup( java.lang.String companyId, java.lang.String name) throws RemoteException { try { com.liferay.portal.model.Group returnValue = GroupServiceUtil.getGroup(companyId, name); return returnValue; } catch (Exception e) { String stackTrace = StackTrac...
3,226,425
public static com.liferay.portal.model.GroupModel getGroup( java.lang.String companyId, java.lang.String name) throws RemoteException { try { com.liferay.portal.model.Group returnValue = GroupServiceUtil.getGroup(companyId, name); return returnValue; } catch (Exception e) { String stackTrace = StackTrac...
public static com.liferay.portal.model.GroupModel getGroup( java.lang.String companyId, java.lang.String name) throws RemoteException { try { com.liferay.portal.model.Group returnValue = GroupServiceUtil.getGroup(companyId, name); return returnValue; } catch (Exception e) { String stackTrace = StackTrac...
3,226,426
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
3,226,427
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
privatefinal IWorkbenchPage page = window.getActivePage(); if (page != null) { final IWorkbenchPart part = page.getActivePart(); if (part != null) { final IWorkbenchPartSite site = part.getSite(); if (site != null) { context.addVariable(ISources.ACTIVE_SITE_NAME, site); final String partId = site.getId(); if (partId ...
3,226,428
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
3,226,429
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
3,226,430
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
private boolean init(Display display) { // setup debug mode if required. if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } // create workbench window manager windowManager = new WindowManager(); IIntroRegistry introRegistry = WorkbenchPlugin.ge...
3,226,431
public final void largeUpdateEnd() { if (--largeUpdates == 0) { workbenchCommandSupport.setProcessing(true); workbenchContextSupport.setProcessing(true); // Perform window-specific blocking. final IWorkbenchWindow[] windows = getWorkbenchWindows(); for (int i = 0; i < windows.length; i++) { IWorkbenchWin...
public final void largeUpdateEnd() { if (--largeUpdates == 0) { workbenchCommandSupport.setProcessing(true); workbenchContextSupport.setProcessing(true); // Perform window-specific blocking. final IWorkbenchWindow[] windows = getWorkbenchWindows(); for (int i = 0; i < windows.length; i++) { IWorkbenchWin...
3,226,432
public final void largeUpdateStart() { if (largeUpdates++ == 0) { workbenchCommandSupport.setProcessing(false); workbenchContextSupport.setProcessing(false); final IWorkbenchWindow[] windows = getWorkbenchWindows(); for (int i = 0; i < windows.length; i++) { IWorkbenchWindow window = windows[i]; if (win...
public final void largeUpdateStart() { if (largeUpdates++ == 0) { workbenchCommandSupport.setProcessing(false); workbenchContextSupport.setProcessing(false); final IWorkbenchWindow[] windows = getWorkbenchWindows(); for (int i = 0; i < windows.length; i++) { IWorkbenchWindow window = windows[i]; if (win...
3,226,433
private int removeUpload(Upload upload) { int index; synchronized (uploads) { index = uploads.indexOf(upload); if (index >= 0) { log().warn("Remove upload from tablemodel: " + upload); uploads.remove(index); } else { log().e...
private int removeUpload(Upload upload) { int index; synchronized (uploads) { index = uploads.indexOf(upload); if (index >= 0) { log().verbose("Remove upload from tablemodel: " + upload); uploads.remove(index); } else { log()...
3,226,434
private float calcFloatProportionalValue(float relVal, short primitiveType, float baseValue, CssContext ctx) { float absVal = Float.MIN_VALUE; // NOTE: absolute datatypes (px, pt, pc, cm, etc.) are converted once and stored. // this could be done on instantiation, but it seems more clear to hav...
private float calcFloatProportionalValue(float relVal, short primitiveType, float baseValue, CssContext ctx) { float absVal = Float.MIN_VALUE; // NOTE: absolute datatypes (px, pt, pc, cm, etc.) are converted once and stored. // this could be done on instantiation, but it seems more clear to hav...
3,226,435
public static Message[] createFileListMessages(Folder folder) { List<FileInfo> infos = folder.getFilesAsList(); //filter files that are ignored folder.getBlacklist().applyIgnore(infos); FileInfo[] infosArray = new FileInfo[infos.size()]; return createFileListMessages(folder.getInf...
public static Message[] createFileListMessages(Folder folder) { List<FileInfo> infos = folder.getFilesAsList(); //filter files that are ignored folder.getBlacklist().applyIgnore(infos); FileInfo[] infosArray = new FileInfo[infos.size()]; return createFileListMessages(folder.getInf...
3,226,436
public static Message[] createFileListMessages(Folder folder) { List<FileInfo> infos = folder.getFilesAsList(); //filter files that are ignored folder.getBlacklist().applyIgnore(infos); FileInfo[] infosArray = new FileInfo[infos.size()]; return createFileListMessages(folder.getInf...
public static Message[] createFileListMessages(Folder folder) { List<FileInfo> infos = folder.getFilesAsList(); //filter files that are ignored folder.getBlacklist().applyIgnore(infos); FileInfo[] infosArray = new FileInfo[infos.size()]; return createFileListMessages(folder.getInf...
3,226,437
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,438
public void setOrganizationId(String organizationId) { if (((organizationId == null) && (_organizationId != null)) || ((organizationId != null) && (_organizationId == null)) || ((organizationId != null) && (_organizationId != null) && !organizationId.equals(_organizationId))) { if (!XSS_ALLOW_ORGANIZATIONI...
public void setOrganizationId(String organizationId) { if (((organizationId == null) && (_organizationId != null)) || ((organizationId != null) && (_organizationId == null)) || ((organizationId != null) && (_organizationId != null) && !organizationId.equals(_organizationId))) { if (!XSS_ALLOW_ORGANIZATIONI...
3,226,439
public void setRoleId(String roleId) { if (((roleId == null) && (_roleId != null)) || ((roleId != null) && (_roleId == null)) || ((roleId != null) && (_roleId != null) && !roleId.equals(_roleId))) { if (!XSS_ALLOW_ROLEID) { roleId = XSSUtil.strip(roleId); } _roleId = roleId; setModified(true); } ...
public void setRoleId(String roleId) { if (((roleId == null) && (_roleId != null)) || ((roleId != null) && (_roleId == null)) || ((roleId != null) && (_roleId != null) && !roleId.equals(_roleId))) { if (!XSS_ALLOW_ROLEID) { roleId = XSSUtil.strip(roleId); } _roleId = roleId; setModified(true); } ...
3,226,440
public RubyObject eval(Ruby ruby, RubyObject self) { ruby.setSourceLine(getLine()); if (getConditionNode().eval(ruby, self).isTrue()) { return getBodyNode().eval(ruby, self); } else { return getElseNode().eval(ruby, self); } }
public RubyObject eval(Ruby ruby, RubyObject self) { ruby.setSourceLine(getLine()); if (getConditionNode().eval(ruby, self).isTrue()) { return self.eval(getBodyNode()); } else { return getElseNode().eval(ruby, self); } }
3,226,442
public RubyObject eval(Ruby ruby, RubyObject self) { ruby.setSourceLine(getLine()); if (getConditionNode().eval(ruby, self).isTrue()) { return getBodyNode().eval(ruby, self); } else { return getElseNode().eval(ruby, self); } }
public RubyObject eval(Ruby ruby, RubyObject self) { ruby.setSourceLine(getLine()); if (getConditionNode().eval(ruby, self).isTrue()) { return getBodyNode().eval(ruby, self); } else { return self.eval(getElseNode()); } }
3,226,443
public synchronized void addChunk(FileChunk chunk) { if (chunk == null) { return; } if (!isStarted()) { // donwload begins to start setStarted(); } lastTouch.setTime(System.currentTimeMillis()); if (super.isBroken()) { return; ...
public synchronized void addChunk(FileChunk chunk) { if (chunk == null) { return; } if (!isStarted()) { // donwload begins to start setStarted(); } lastTouch.setTime(System.currentTimeMillis()); if (super.isBroken()) { return; ...
3,226,444
public Hits search( String companyId, String groupId, String userId, String[] categoryIds, String keywords) throws SystemException { try { Hits hits = new Hits(); if (Validator.isNull(keywords)) { return hits; } BooleanQuery booleanQuery = new BooleanQuery(); LuceneUtil.addRequiredTerm( booleanQu...
public Hits search( String companyId, String groupId, String userId, String[] categoryIds, String keywords) throws SystemException { try { Hits hits = new Hits(); if (Validator.isNull(keywords)) { return hits; } BooleanQuery booleanQuery = new BooleanQuery(); LuceneUtil.addRequiredTerm( booleanQu...
3,226,445
public Hits search( String companyId, String groupId, String userId, String[] categoryIds, String keywords) throws SystemException { try { Hits hits = new Hits(); if (Validator.isNull(keywords)) { return hits; } BooleanQuery booleanQuery = new BooleanQuery(); LuceneUtil.addRequiredTerm( booleanQu...
public Hits search( String companyId, String groupId, String userId, String[] categoryIds, String keywords) throws SystemException { try { Hits hits = new Hits(); if (Validator.isNull(keywords)) { return hits; } BooleanQuery booleanQuery = new BooleanQuery(); LuceneUtil.addRequiredTerm( booleanQu...
3,226,446
public Hits search( String companyId, String groupId, String userId, String[] categoryIds, String keywords) throws SystemException { try { Hits hits = new Hits(); if (Validator.isNull(keywords)) { return hits; } BooleanQuery booleanQuery = new BooleanQuery(); LuceneUtil.addRequiredTerm( booleanQu...
public Hits search( String companyId, String groupId, String userId, String[] categoryIds, String keywords) throws SystemException { try { Hits hits = new Hits(); if (Validator.isNull(keywords)) { return hits; } BooleanQuery booleanQuery = new BooleanQuery(); LuceneUtil.addRequiredTerm( booleanQu...
3,226,447
public CascadedStyle getPseudoElementStyle(Element e, String pseudoElement) { return _tbStyleMap.getPECascadedStyle(e, pseudoElement); }
public CascadedStyle getPseudoElementStyle(Node node, String pseudoElement) { Element e = null; if (node.getNodeType() == Node.ELEMENT_NODE) { e = (Element) node; } else { e = (Element) node.getParentNode(); } return _tbStyleMap.getPECascadedStyle(e, pseudoElement); }
3,226,449
public static int adjustForTab( Context c, LineBox prev_line, int remaining_width ) { BlockFormattingContext bfc = c.getBlockFormattingContext(); remaining_width -= bfc.getLeftFloatDistance( prev_line ); remaining_width -= bfc.getRightFloatDistance( prev_line ); // Uu.p("adjusting the li...
public static int adjustForTab( Context c, LineBox prev_line, int remaining_width ) { BlockFormattingContext bfc = c.getBlockFormattingContext(); remaining_width -= bfc.getLeftFloatDistance( prev_line ); remaining_width -= bfc.getRightFloatDistance( prev_line ); // Uu.p("adjusting the li...
3,226,450
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
3,226,451
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
3,226,452
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
3,226,453
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
public static InlineBox generateFloatedBlockInlineBox( Context c, Content content, int avail, LineBox curr_line ) { // Uu.p("generate floated block inline box: avail = " + avail); //Uu.p("generate floated block inline box"); Rectangle oe = c.getExtents();// copy the extents for safety c....
3,226,454
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,455
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,456
public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str...
public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str...
3,226,457
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,458
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,459
public void setLastVoteDate(Date lastVoteDate) { if (((lastVoteDate == null) && (_lastVoteDate != null)) || ((lastVoteDate != null) && (_lastVoteDate == null)) || ((lastVoteDate != null) && (_lastVoteDate != null) && !lastVoteDate.equals(_lastVoteDate))) { _lastVoteDate = lastVoteDate; setModified(true);...
public void setLastVoteDate(Date lastVoteDate) { if (((lastVoteDate == null) && (_lastVoteDate != null)) || ((lastVoteDate != null) && (_lastVoteDate == null)) || ((lastVoteDate != null) && (_lastVoteDate != null) && !lastVoteDate.equals(_lastVoteDate))) { _lastVoteDate = lastVoteDate; setModified(true);...
3,226,460
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,461
public void setQuestionId(String questionId) { if (((questionId == null) && (_questionId != null)) || ((questionId != null) && (_questionId == null)) || ((questionId != null) && (_questionId != null) && !questionId.equals(_questionId))) { if (!XSS_ALLOW_QUESTIONID) { questionId = XSSUtil.strip(questionI...
public void setQuestionId(String questionId) { if (((questionId == null) && (_questionId != null)) || ((questionId != null) && (_questionId == null)) || ((questionId != null) && (_questionId != null) && !questionId.equals(_questionId))) { if (!XSS_ALLOW_QUESTIONID) { questionId = XSSUtil.strip(questionI...
3,226,462
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,463
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,464
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,465
public void linkClicked( Box box, MouseEvent evt ) { panel.repaint(); try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex...
public void linkClicked(String uri) { panel.repaint(); try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex ); } ...
3,226,466
public void linkClicked( Box box, MouseEvent evt ) { panel.repaint(); try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex...
public void linkClicked( Box box, MouseEvent evt ) { panel.repaint(); try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex...
3,226,467
public Company updateCompany( String companyId, String portalURL, String homeURL, String mx, String name, String legalName, String legalId, String legalType, String sicCode, String tickerSymbol, String industry, String type, String size) throws PortalException, SystemException { // Company Date now = new Da...
public Company updateCompany( String companyId, String portalURL, String homeURL, String mx, String name, String legalName, String legalId, String legalType, String sicCode, String tickerSymbol, String industry, String type, String size) throws PortalException, SystemException { // Company Date now = new Da...
3,226,468
public void setInitialText(String text) { initialText = text; resetText(); }
public void setInitialText(String text) { initialText = text; setFilterText(initialText); textChanged(); listener = new FocusListener() { public void focusGained(FocusEvent event) { selectAll(); getFilterControl().removeFocusListener(listener); } /* * (non-Javadoc) * * @see org.eclipse.swt.events.Fo...
3,226,469
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,471
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,472
public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str...
public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str...
3,226,473
public void setFolderId(String folderId) { if (((folderId == null) && (_folderId != null)) || ((folderId != null) && (_folderId == null)) || ((folderId != null) && (_folderId != null) && !folderId.equals(_folderId))) { if (!XSS_ALLOW_FOLDERID) { folderId = XSSUtil.strip(folderId); } _folderId = fold...
public void setFolderId(String folderId) { if (((folderId == null) && (_folderId != null)) || ((folderId != null) && (_folderId == null)) || ((folderId != null) && (_folderId != null) && !folderId.equals(_folderId))) { if (!XSS_ALLOW_FOLDERID) { folderId = XSSUtil.strip(folderId); } _folderId = fold...
3,226,474
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,475
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,476
public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } }
public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } }
3,226,477
public void setParentFolderId(String parentFolderId) { if (((parentFolderId == null) && (_parentFolderId != null)) || ((parentFolderId != null) && (_parentFolderId == null)) || ((parentFolderId != null) && (_parentFolderId != null) && !parentFolderId.equals(_parentFolderId))) { if (!XSS_ALLOW_PARENTFOLDERI...
public void setParentFolderId(String parentFolderId) { if (((parentFolderId == null) && (_parentFolderId != null)) || ((parentFolderId != null) && (_parentFolderId == null)) || ((parentFolderId != null) && (_parentFolderId != null) && !parentFolderId.equals(_parentFolderId))) { if (!XSS_ALLOW_PARENTFOLDERI...
3,226,478
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,479
public void doRequest(HTTPRequest httpRequest) { context.put("controller", getController()); FolderRepository repo = getController().getFolderRepository(); context.put("folderRepository", repo); Map<String, String> params = httpRequest.getQueryParams(); List<Folder> folders = repo...
public void doRequest(HTTPRequest httpRequest) { context.put("controller", getController()); FolderRepository repo = getController().getFolderRepository(); context.put("folderRepository", repo); Map<String, String> params = httpRequest.getQueryParams(); List<Folder> folders = repo...
3,226,480