mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 00:38:56 +00:00
Merge pull request #59 from eclipse/me_manifest
[MANIFEST.MF-cleanup] splitting lines should also work on UNIX newlines
This commit is contained in:
commit
4a0a1591a7
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public class MergeableManifest extends Manifest {
|
|||
public static String make512Safe(StringBuffer lines) {
|
||||
if (lines.length() > 512) {
|
||||
StringBuilder result = new StringBuilder(lines.length());
|
||||
String[] splitted = lines.toString().split("\\r\\n");
|
||||
String[] splitted = lines.toString().split("\\r?\\n");
|
||||
for(String string: splitted) {
|
||||
if (string.length() > 512) {
|
||||
int idx = 510;
|
||||
|
|
Loading…
Reference in a new issue