Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit30790ec

Browse files
author
zhourenjian@gmail.com
committed
Fixed bug of still updating Objective C sources' copyright year
1 parentf63d10d commit30790ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎sources/net.sf.j2s.ajax/generator/net/sf/j2s/ajax/SourceUtils.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ public static void updateSourceContent(File file, String source) {
178178
return;
179179
}else {
180180
@SuppressWarnings("deprecation")
181-
StringcopyrightYear ="* Copyright (c) " + (newDate().getYear() +1900);
182-
StringupdatedSource =oldSource.replaceFirst("\\* Copyright\\(c\\)\\d{4}",copyrightYear);
181+
StringcopyrightYear =" Copyright (c) " + (newDate().getYear() +1900);
182+
StringupdatedSource =oldSource.replaceFirst(" Copyright\\(c\\)\\d{4}",copyrightYear);
183183
if (source.equals(updatedSource)) {
184184
return;
185185
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp