rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
newResourcePage = new NewWizardNewPage(this, this.workbench, wizardCategories);
newResourcePage = new NewWizardNewPage(this, this.workbench, wizardCategories, primaryWizards);
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...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cdc590064230a8543dcd910f93596ce961da1d7e/NewWizardSelectionPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardSelectionPage.java
return RubyBoolean.newBoolean(runtime, this == other);
return getRuntime().newBoolean(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 RubyBoolean.newBoolean(runtime, this == other); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubySymbol.java/buggy/src/org/jruby/RubySymbol.java
return RubyFixnum.newFixnum(runtime, symbol.hashCode());
return getRuntime().newFixnum(symbol.hashCode());
public RubyFixnum hash() { return RubyFixnum.newFixnum(runtime, symbol.hashCode()); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubySymbol.java/buggy/src/org/jruby/RubySymbol.java
return RubyString.newString(getRuntime(), ":" + symbol);
return getRuntime().newString(":" + symbol);
public RubyString inspect() { return RubyString.newString(getRuntime(), ":" + symbol); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubySymbol.java/buggy/src/org/jruby/RubySymbol.java
throw new TypeError(getRuntime(), "can't clone Symbol");
throw getRuntime().newTypeError("can't clone Symbol");
public IRubyObject rbClone() { throw new TypeError(getRuntime(), "can't clone Symbol"); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubySymbol.java/buggy/src/org/jruby/RubySymbol.java
return RubyFixnum.newFixnum(runtime, id);
return getRuntime().newFixnum(id);
public RubyFixnum to_i() { return RubyFixnum.newFixnum(runtime, id); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubySymbol.java/buggy/src/org/jruby/RubySymbol.java
return RubyString.newString(getRuntime(), symbol);
return getRuntime().newString(symbol);
public RubyString to_s() { return RubyString.newString(getRuntime(), symbol); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubySymbol.java/buggy/src/org/jruby/RubySymbol.java
short type = guessType(initialValue);
short type = ValueConstants.guessType(initialValue);
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...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/beb33b535e31b5457b4ff342322f6310ebfa663e/CalculatedStyle.java/buggy/src/java/org/xhtmlrenderer/css/style/CalculatedStyle.java
Uu.p("still null. failing :(");
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...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/5ab8d19beb25fd96c93f800f8de2bacad5331774/BasicPanel.java/clean/src/java/org/xhtmlrenderer/swing/BasicPanel.java
lastMarkers = newMarkers;
public void buildAllMarkers(IProgressMonitor monitor) { building = true; MarkerList newMarkers; try { int markerLimit = view.getMarkerLimit(); monitor.beginTask(MarkerMessages.MarkerView_19, markerLimit == -1 ? 60 : 100); try { monitor.subTask(MarkerMessages.MarkerView_waiting_on_changes); if (monit...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/58c7b43a84a79355b625af3954e16798861f74c1/MarkerAdapter.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
throw new FacesException( "Unsupported context type " + context.getClass().getName());
throw new FacesException("Unsupported context type " + context.getClass().getName());
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/609b519a904ba683c07b38e27cec406578e75ffd/MyFacesContextFactoryImpl.java/buggy/util-jsf/src/com/liferay/util/jsf/apache/myfaces/context/MyFacesContextFactoryImpl.java
public Group addGroup( String className, String classPK, String name, String friendlyURL)
public Group addGroup(String name, String friendlyURL)
public Group addGroup( String className, String classPK, String name, String friendlyURL) throws PortalException, SystemException { return GroupLocalServiceUtil.addGroup( getUser().getCompanyId(), className, classPK, name, friendlyURL); }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f3ad9fb1651cda52873ea772c3df0bb9bd03b52f/GroupServiceImpl.java/buggy/portal-ejb/src/com/liferay/portal/service/impl/GroupServiceImpl.java
getUser().getCompanyId(), className, classPK, name, friendlyURL);
getUserId(), null, null, 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); }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f3ad9fb1651cda52873ea772c3df0bb9bd03b52f/GroupServiceImpl.java/buggy/portal-ejb/src/com/liferay/portal/service/impl/GroupServiceImpl.java
if (dlFileRank.isNew() || dlFileRank.isModified()) { session = openSession(); if (dlFileRank.isNew()) { DLFileRank dlFileRankModel = new DLFileRank(); dlFileRankModel.setCompanyId(dlFileRank.getCompanyId()); dlFileRankModel.setUserId(dlFileRank.getUserId()); dlFileRankModel.setFolderId(dlFileRank.getFolderId()); dlFil...
session = openSession(); session.saveOrUpdate(dlFileRank); session.flush(); dlFileRank.setNew(false);
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 ...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/DLFileRankPersistence.java/buggy/portal-ejb/src/com/liferay/portlet/documentlibrary/service/persistence/DLFileRankPersistence.java
if (dirs[0].indexOf('*') > -1 || dirs[0].indexOf('?') > -1) {
if (glob2Regexp(dirs[0]) != null) {
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++) { ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
if (dirs[idx].indexOf('*') == -1 && dirs[idx].indexOf('?') == -1) {
if (glob2Regexp(dirs[idx]) == null) {
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++) { ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
FilenameFilter filter = new GlobFilenameFilter(pattern); /** * @see java.io.FileFilter#accept(File) */
Pattern p = Pattern.compile(glob2Regexp(pattern));
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) */ ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
return (pathname.isDirectory() || !isDirectory) && SelectorUtils.matchPath(pattern, pathname.getName());
return (pathname.isDirectory() || !isDirectory) && p.matcher(pathname.getName()).matches();
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) */ ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
return (pathname.isDirectory() || !isDirectory) && SelectorUtils.matchPath(pattern, pathname.getName());
return (pathname.isDirectory() || !isDirectory) && p.matcher(pathname.getName()).matches();
public boolean accept(File pathname) { return (pathname.isDirectory() || !isDirectory) && SelectorUtils.matchPath(pattern, pathname.getName()); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
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.length() > 0) { dirs.add(sb.toString()); sb = new StringBuffer(); } if (dirs.size() == 0) { sb.append(path.charAt(i)); } } else { s...
int i = 0; while (true) { int j = pattern.indexOf(File.separatorChar, i); if (j == -1) { if (i < pattern.length()) { dirs.add(pattern.substring(i)); } break; } if (i < j) { dirs.add(pattern.substring(i, j)); i = j + 1; }
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...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
if (sb.length() > 0) { dirs.add(sb.toString()); } return (String[])dirs.toArray(new String[dirs.size()]);
return (String[]) dirs.toArray(new String[dirs.size()]);
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...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
throws com.liferay.portal.SystemException {
throws com.liferay.portal.PortalException, com.liferay.portal.SystemException {
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; ...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f3ad9fb1651cda52873ea772c3df0bb9bd03b52f/OrgLaborServiceUtil.java/clean/portal-ejb/src/com/liferay/portal/service/spring/OrgLaborServiceUtil.java
} catch (com.liferay.portal.PortalException pe) { throw pe;
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; ...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f3ad9fb1651cda52873ea772c3df0bb9bd03b52f/OrgLaborServiceUtil.java/clean/portal-ejb/src/com/liferay/portal/service/spring/OrgLaborServiceUtil.java
if(info.editorInput == null) return;
void checkDuplicates(NavigationHistoryEditorInfo info) { NavigationHistoryEditorInfo dup = null; for (Iterator iter = editors.iterator(); iter.hasNext();) { dup = (NavigationHistoryEditorInfo)iter.next(); if(info != dup && info.editorID.equals(dup.editorID) && info.editorInput.equals(dup.editorInput)) break; else ...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/11c3a1951b90a731ff3fb05889fdab5cb6af5bae/NavigationHistory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/NavigationHistory.java
c.getRootLayer().ensureHasPage(c, child.getMaster());
private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/868e29fe0bd81b55cbd739f60feedbe5488f9adb/Layer.java/clean/src/java/org/xhtmlrenderer/layout/Layer.java
java.lang.String companyId, java.lang.String name) throws RemoteException {
java.lang.String groupId) throws RemoteException {
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/321bc18d7c720086a32b2956af609c3eceb42f4a/GroupServiceSoap.java/clean/portal-ejb/src/com/liferay/portal/service/http/GroupServiceSoap.java
com.liferay.portal.model.Group returnValue = GroupServiceUtil.getGroup(companyId, name);
com.liferay.portal.model.Group returnValue = GroupServiceUtil.getGroup(groupId);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/321bc18d7c720086a32b2956af609c3eceb42f4a/GroupServiceSoap.java/clean/portal-ejb/src/com/liferay/portal/service/http/GroupServiceSoap.java
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...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2aa0965bbe6d7e1c9acd243af620354c7eb93e19/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
final 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 != null)...
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...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2aa0965bbe6d7e1c9acd243af620354c7eb93e19/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
commandService.readRegistryAndPreferences();
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...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2aa0965bbe6d7e1c9acd243af620354c7eb93e19/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
workbenchCommandSupport = new WorkbenchCommandSupport(this, bindingManager, commandManager, contextManager, commandService);
workbenchCommandSupport = new WorkbenchCommandSupport(bindingManager, commandManager, contextManager, handlerService);
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...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2aa0965bbe6d7e1c9acd243af620354c7eb93e19/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
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...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2aa0965bbe6d7e1c9acd243af620354c7eb93e19/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
workbenchCommandSupport.setProcessing(true); workbenchContextSupport.setProcessing(true);
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...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2aa0965bbe6d7e1c9acd243af620354c7eb93e19/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
workbenchCommandSupport.setProcessing(false); workbenchContextSupport.setProcessing(false);
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...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/2aa0965bbe6d7e1c9acd243af620354c7eb93e19/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
log().warn("Remove upload from tablemodel: " + upload);
log().verbose("Remove upload from tablemodel: " + upload);
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...
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/ae3d12443e196837c10587186ff3e8ce6e44b6fe/UploadsTableModel.java/clean/src/main/de/dal33t/powerfolder/ui/transfer/UploadsTableModel.java
assert (new Float(absVal).intValue() > 0);
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...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/57063c7124e41a59e9002920513c8065d509e17e/DerivedValue.java/buggy/src/java/org/xhtmlrenderer/css/style/DerivedValue.java
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...
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/ec858d625f4f686b517266653ac1acab8ed74248/FileList.java/buggy/src/main/de/dal33t/powerfolder/message/FileList.java
return createFileListMessages(folder.getInfo(), infos.toArray(infosArray));
return createFileListMessages(folder.getInfo(), infos .toArray(infosArray));
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...
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/ec858d625f4f686b517266653ac1acab8ed74248/FileList.java/buggy/src/main/de/dal33t/powerfolder/message/FileList.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/OrgGroupRoleModel.java/buggy/portal-ejb/src/com/liferay/portal/model/OrgGroupRoleModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/OrgGroupRoleModel.java/buggy/portal-ejb/src/com/liferay/portal/model/OrgGroupRoleModel.java
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); } ...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/OrgGroupRoleModel.java/buggy/portal-ejb/src/com/liferay/portal/model/OrgGroupRoleModel.java
} else if (currentContent instanceof FloatedBlockContent) { bounds.height += new_inline.height;
public static void layoutContent(Context c, Box box, List contentList) { // Uu.p("+ InlineLayout.layoutContent(): " + box); Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.p...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/3f42b421383cc638581563923e0f4301d1a776e8/InlineLayout.java/buggy/src/java/org/xhtmlrenderer/layout/InlineLayout.java
return getBodyNode().eval(ruby, self);
return self.eval(getBodyNode());
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); } }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12748a4b8db7fd4836cd04c81e3cf2343735bfb6/IfNode.java/buggy/org/jruby/nodes/IfNode.java
return getElseNode().eval(ruby, self);
return self.eval(getElseNode());
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); } }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12748a4b8db7fd4836cd04c81e3cf2343735bfb6/IfNode.java/buggy/org/jruby/nodes/IfNode.java
getFile().getFolder(getController().getFolderRepository()) .getStatistic().getDownloadCounter().chunkTransferred(chunk);
FolderStatistic stat = getFile().getFolder(getController().getFolderRepository()) .getStatistic(); if (stat != null) { stat.getDownloadCounter().chunkTransferred(chunk); }
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; ...
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/b4fb3f422a922682069c3b076e76eaf4b8dadac3/Download.java/buggy/src/main/de/dal33t/powerfolder/transfer/Download.java
categoryIdsQuery.add(new TermQuery(new Term( "categoryId", categoryIds[i])), false, false);
Term term = new Term("categoryId", categoryIds[i]); TermQuery termQuery = new TermQuery(term); categoryIdsQuery.add(termQuery, BooleanClause.Occur.SHOULD);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/fa825e278fff56c5878f6bf4ebfe8e8c47fa5e6f/BlogsEntryLocalServiceImpl.java/clean/portal-ejb/src/com/liferay/portlet/blogs/service/impl/BlogsEntryLocalServiceImpl.java
booleanQuery.add(categoryIdsQuery, true, false);
booleanQuery.add(categoryIdsQuery, BooleanClause.Occur.MUST);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/fa825e278fff56c5878f6bf4ebfe8e8c47fa5e6f/BlogsEntryLocalServiceImpl.java/clean/portal-ejb/src/com/liferay/portlet/blogs/service/impl/BlogsEntryLocalServiceImpl.java
Query query = QueryParser.parse( booleanQuery.toString(), LuceneFields.CONTENT, LuceneUtil.getAnalyzer()); hits.recordHits(searcher.search(query));
hits.recordHits(searcher.search(booleanQuery));
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/fa825e278fff56c5878f6bf4ebfe8e8c47fa5e6f/BlogsEntryLocalServiceImpl.java/clean/portal-ejb/src/com/liferay/portlet/blogs/service/impl/BlogsEntryLocalServiceImpl.java
if (element.getName().equals(TAG_KEYWORD_REFERENCE)) { return true; }
public boolean readElement(IConfigurationElement element) { if (element.getName().equals(TAG_PAGE)) { processPageElement(element); readElementChildren(element); return true; } if (element.getName().equals(TAG_FILTER)) { return true; } re...
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/050e3808f129e258f207bc55a906768361d0c2af/PropertyPagesRegistryReader.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PropertyPagesRegistryReader.java
public CascadedStyle getPseudoElementStyle(Element e, String 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(); }
public CascadedStyle getPseudoElementStyle(Element e, String pseudoElement) { return _tbStyleMap.getPECascadedStyle(e, pseudoElement); }
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/810d20da09b135490001c813971ac26af6d13f00/TBStyleReference.java/clean/src/java/org/xhtmlrenderer/css/bridge/TBStyleReference.java
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...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/3f7f1ad563975d526a941d1eb9629a543d42be24/FloatUtil.java/clean/src/java/org/xhtmlrenderer/layout/inline/FloatUtil.java
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....
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/3f7f1ad563975d526a941d1eb9629a543d42be24/FloatUtil.java/clean/src/java/org/xhtmlrenderer/layout/inline/FloatUtil.java
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....
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/3f7f1ad563975d526a941d1eb9629a543d42be24/FloatUtil.java/clean/src/java/org/xhtmlrenderer/layout/inline/FloatUtil.java
inline_block.x = 0;
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....
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/3f7f1ad563975d526a941d1eb9629a543d42be24/FloatUtil.java/clean/src/java/org/xhtmlrenderer/layout/inline/FloatUtil.java
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....
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/3f7f1ad563975d526a941d1eb9629a543d42be24/FloatUtil.java/clean/src/java/org/xhtmlrenderer/layout/inline/FloatUtil.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
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); } }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
setModified(true);
public void setExpirationDate(Date expirationDate) { if (((expirationDate == null) && (_expirationDate != null)) || ((expirationDate != null) && (_expirationDate == null)) || ((expirationDate != null) && (_expirationDate != null) && !expirationDate.equals(_expirationDate))) { _expirationDate = expirationDa...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
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);...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
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);...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
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); } }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
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); } ...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PollsQuestionModel.java/clean/portal-ejb/src/com/liferay/portlet/polls/model/PollsQuestionModel.java
public void linkClicked( Box box, MouseEvent evt ) {
public void linkClicked(String uri) {
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...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/0bcb35d367c0f0b2a89eb6aabedfe9807525ad3a/LinkListener.java/buggy/src/java/org/xhtmlrenderer/swing/LinkListener.java
try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex ); }
panel.setDocumentRelative(uri);
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...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/0bcb35d367c0f0b2a89eb6aabedfe9807525ad3a/LinkListener.java/buggy/src/java/org/xhtmlrenderer/swing/LinkListener.java
account.setUserId(StringPool.BLANK);
account.setUserId(User.getDefaultUserId(companyId));
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f8f4a2d786af7a3d5ae7d85c2a7c4ea88605c61e/CompanyLocalServiceImpl.java/buggy/portal-ejb/src/com/liferay/portal/service/impl/CompanyLocalServiceImpl.java
resetText();
setFilterText(initialText); textChanged(); listener = new FocusListener() { public void focusGained(FocusEvent event) { selectAll(); getFilterControl().removeFocusListener(listener); } /* * (non-Javadoc) * * @see org.eclipse.swt.events.FocusListener#focusLost(org.eclipse.swt.events.FocusEvent) */ public void focusLos...
public void setInitialText(String text) { initialText = text; resetText(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/185051d95063beb518a0b20ba3a638261ddf0988/FilteredTree.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FilteredTree.java
if(selection instanceof IStructuredSelection) { Object[] newSelection = ((IStructuredSelection)selection).toArray(); Object[] expandedElements = commonViewer.getExpandedElements(); Object[] newExpandedElements = new Object[newSelection.length + expandedElements.length]; System.arraycopy(expandedElements, 0, newExpanded...
public void selectReveal(ISelection selection) { if (commonViewer != null) { commonViewer.setSelection(selection, true); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/760f9bf6c2e4d21502cb533a888c5fe64e58bdf8/CommonNavigator.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonNavigator.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
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); } }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
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);...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
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); } }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
setModified(true);
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...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
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); } ...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/IGFolderModel.java/buggy/portal-ejb/src/com/liferay/portlet/imagegallery/model/IGFolderModel.java
log().debug(dirStr);
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...
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/d9e0749004d8899201bb266b564fc2f584a94e8a/FolderHandler.java/buggy/src/main/de/dal33t/powerfolder/web/FolderHandler.java
log().debug("folder " + params.get("FolderID") + " found");
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...
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/d9e0749004d8899201bb266b564fc2f584a94e8a/FolderHandler.java/buggy/src/main/de/dal33t/powerfolder/web/FolderHandler.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/631ee187cba274ce571d6a7e5b800c58f77b1142/TextUtil.java/clean/src/java/org/xhtmlrenderer/layout/TextUtil.java