Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 182253 Details for
Bug 276257
[relengtool][regression] "Fix copyrights" can destroy XML files by not closing comment properly and introducing wrong line delimiters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch to disable copyright update in xml
patch.txt (text/plain), 2.00 KB, created by
John Arthorne
on 2010-11-02 16:32:12 EDT
(
hide
)
Description:
Patch to disable copyright update in xml
Filename:
MIME Type:
Creator:
John Arthorne
Created:
2010-11-02 16:32:12 EDT
Size:
2.00 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.releng.tools >Index: src/org/eclipse/releng/tools/SourceFile.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.releng.tools/src/org/eclipse/releng/tools/SourceFile.java,v >retrieving revision 1.10 >diff -u -r1.10 SourceFile.java >--- src/org/eclipse/releng/tools/SourceFile.java 4 Jun 2010 11:18:15 -0000 1.10 >+++ src/org/eclipse/releng/tools/SourceFile.java 2 Nov 2010 20:28:59 -0000 >@@ -11,30 +11,13 @@ > *******************************************************************************/ > package org.eclipse.releng.tools; > >-import java.io.BufferedReader; >-import java.io.BufferedWriter; >-import java.io.IOException; >-import java.io.StringReader; >-import java.io.StringWriter; >-import java.util.ArrayList; >-import java.util.Iterator; >-import java.util.List; >- >-import org.eclipse.osgi.util.NLS; >- >-import org.eclipse.core.runtime.CoreException; >- >+import java.io.*; >+import java.util.*; >+import org.eclipse.core.filebuffers.*; > import org.eclipse.core.resources.IFile; >- >-import org.eclipse.core.filebuffers.FileBuffers; >-import org.eclipse.core.filebuffers.ITextFileBuffer; >-import org.eclipse.core.filebuffers.ITextFileBufferManager; >-import org.eclipse.core.filebuffers.LocationKind; >- >-import org.eclipse.jface.text.BadLocationException; >-import org.eclipse.jface.text.IDocument; >-import org.eclipse.jface.text.IRegion; >-import org.eclipse.jface.text.TextUtilities; >+import org.eclipse.core.runtime.CoreException; >+import org.eclipse.jface.text.*; >+import org.eclipse.osgi.util.NLS; > > > /** >@@ -63,8 +46,8 @@ > return new BatFile(file); > } else if (extension.equals("js")) { //$NON-NLS-1$ > return new JavaScriptFile(file); >- } else if (extension.equals("xml")) { //$NON-NLS-1$ >- return new XmlFile(file); >+// } else if (extension.equals("xml")) { //$NON-NLS-1$ >+// return new XmlFile(file); > } > } > return null;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276257
: 182253