diff options
author | Eike Stepper | 2013-05-03 19:08:04 +0000 |
---|---|---|
committer | Eike Stepper | 2013-05-03 19:08:04 +0000 |
commit | 083e1edec5813cc6a2250165ef909b65c7e9f88d (patch) | |
tree | 0048625bb5f0bf39d5e0e3f9f7b0e6020f97c4ef /plugins/org.eclipse.emf.cdo.releng.gitbash/src | |
parent | c9c9f58577c9ef76461a8d21b79ec6fb9f60ffe0 (diff) | |
download | cdo-083e1edec5813cc6a2250165ef909b65c7e9f88d.tar.gz cdo-083e1edec5813cc6a2250165ef909b65c7e9f88d.tar.xz cdo-083e1edec5813cc6a2250165ef909b65c7e9f88d.zip |
Update copyrightsdrops/I20130503-1515
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.gitbash/src')
15 files changed, 14 insertions, 515 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/AbstractAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/AbstractAction.java index 369ce66ce2..e81a5bdb7b 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/AbstractAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/AbstractAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/Activator.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/Activator.java index 69bd72b66e..d9df6dc15b 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/Activator.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/Activator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/GitApplyAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/GitApplyAction.java index 10c1c37529..668aae052e 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/GitApplyAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/GitApplyAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/GitBash.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/GitBash.java index 36d8f578f5..e6e86d0f31 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/GitBash.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/GitBash.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012, 2013 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/AbstractRepositoryAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/AbstractRepositoryAction.java index 3be657bb00..8040f460e1 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/AbstractRepositoryAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/AbstractRepositoryAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitAddAllAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitAddAllAction.java index 0d1bc6157d..f3ab9717fa 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitAddAllAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitAddAllAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitBashAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitBashAction.java index 238c9ed7d3..ec56010825 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitBashAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitBashAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitCleanAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitCleanAction.java index e309e06eee..1e1d586168 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitCleanAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitCleanAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitCopyrightsAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitCopyrightsAction.java deleted file mode 100644 index a36549d028..0000000000 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitCopyrightsAction.java +++ /dev/null @@ -1,501 +0,0 @@ -/* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.releng.gitbash.repository; - -import org.eclipse.emf.cdo.releng.gitbash.GitBash; - -import org.eclipse.swt.widgets.Shell; - -import java.io.BufferedReader; -import java.io.BufferedWriter; -import java.io.Closeable; -import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileReader; -import java.io.FileWriter; -import java.io.IOException; -import java.io.Reader; -import java.io.Writer; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.HashSet; -import java.util.List; -import java.util.Set; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -/** - * @author Eike Stepper - */ -public class GitCopyrightsAction extends AbstractRepositoryAction -{ - private static final String[] IGNORED_PATHS = { "resourcemanager.java", "menucardtemplate.java", - "org.eclipse.emf.cdo.releng.version.tests\\tests", "org.eclipse.net4j.jms.api" }; - - private static final String[] REQUIRED_EXTENSIONS = { ".java", ".ant", "build.xml", "plugin.xml", "fragment.xml", - "feature.xml", "plugin.properties", "fragment.properties", "feature.properties", "about.properties", - "build.properties", "messages.properties", "copyright.txt", ".exsd" }; - - private static final String[] OPTIONAL_EXTENSIONS = { ".properties", ".xml", ".html", ".ecore", ".genmodel" }; - - private static final String[] IGNORED_MESSAGES = { "update copyrights", "updated copyrights", "adjust legal headers", - "adjusted legal headers", "update legal headers", "updated legal headers", "adjust copyrights", - "adjusted copyrights", "fix copyrights", "fixed copyrights", "fix legal headers", "fixed legal headers" }; - - private static final Pattern COPYRIGHT_PATTERN = Pattern - .compile("(.*?)Copyright \\(c\\) ([0-9 ,-]+) (.*?) and others.(.*)"); - - private static final String BEGIN_COMMIT = "--BEGIN-COMMIT--"; - - private static final String BEGIN_MESSAGE = "--BEGIN-SUMMARY--"; - - // "--BEGIN-COMMIT-- - // committer date - // message (multiline) - // --BEGIN-SUMMARY-- - // summary (multiline)" - private static final String OUTPUT_FORMAT = BEGIN_COMMIT + "%n%ci%n%B%n" + BEGIN_MESSAGE + "%n"; - - private static final String NL = System.getProperty("line.separator"); - - private File workTree; - - private int workTreeLength; - - private List<String> missingCopyrights = new ArrayList<String>(); - - private int rewriteCount; - - private File outFile; - - @Override - protected void run(Shell shell, File workTree) throws Exception - { - try - { - this.workTree = workTree; - workTreeLength = workTree.getAbsolutePath().length() + 1; - - checkFolder(shell, workTree); - System.out.println("Missing count: " + missingCopyrights.size()); - System.out.println("Rewrite count: " + rewriteCount); - } - finally - { - missingCopyrights.clear(); - rewriteCount = 0; - outFile = null; - } - } - - private void checkFolder(Shell shell, File folder) throws Exception - { - for (File file : folder.listFiles()) - { - String fileName = file.getName(); - if (file.isDirectory() && !fileName.equals(".git")) - { - checkFolder(shell, file); - } - else if (!fileName.equals(".gitlog")) - { - checkFile(shell, file); - } - } - } - - private void checkFile(Shell shell, File file) throws Exception - { - if (hasString(file.getPath(), IGNORED_PATHS)) - { - return; - } - - boolean required = hasExtension(file, REQUIRED_EXTENSIONS); - boolean optional = required || hasExtension(file, OPTIONAL_EXTENSIONS); - - if (optional) - { - FileReader fileReader = new FileReader(file); - BufferedReader bufferedReader = new BufferedReader(fileReader); - - try - { - int lineNumber = 0; - String line; - while ((line = bufferedReader.readLine()) != null) - { - Matcher matcher = COPYRIGHT_PATTERN.matcher(line); - if (matcher.matches()) - { - String prefix = matcher.group(1); - String dates = matcher.group(1); - String owner = matcher.group(3); - String suffix = matcher.group(4); - - rewriteFile(shell, file, lineNumber, prefix, dates, owner, suffix); - return; - } - - ++lineNumber; - } - - if (required) - { - String path = getPath(file); - missingCopyrights.add(path); - System.out.println("COPYRIGHT MISSING: " + path); - } - } - finally - { - bufferedReader.close(); - fileReader.close(); - } - } - } - - private String getPath(File file) - { - String path = file.getAbsolutePath().replace('\\', '/'); - return path.substring(workTreeLength); - } - - private boolean hasString(String string, String[] strings) - { - for (int i = 0; i < strings.length; i++) - { - if (string.indexOf(strings[i]) != -1) - { - return true; - } - } - - return false; - } - - private boolean hasExtension(File file, String[] extensions) - { - String fileName = file.getName(); - for (int i = 0; i < extensions.length; i++) - { - if (fileName.endsWith(extensions[i])) - { - return true; - } - } - - return false; - } - - private void rewriteFile(Shell shell, File file, int copyrightLineNumber, String prefix, String dates, String owner, - String suffix) throws Exception - { - String path = getPath(file); - - if (outFile == null) - { - outFile = File.createTempFile("git-", ".log"); - } - - try - { - GitBash.quiet = true; - GitBash.executeCommand(shell, workTree, "git log --follow --name-only --format=\"" + OUTPUT_FORMAT + "\" -- \"" - + path + "\" > \"/" + outFile.getAbsolutePath().replace(":", "").replace("\\", "/") + "\""); - } - finally - { - GitBash.quiet = false; - } - - Set<Integer> years = parseOutFile(); - String newDates = formatYears(years); - if (newDates.equals(dates)) - { - return; - } - - ++rewriteCount; - String copyrightLine = prefix + "Copyright (c) " + newDates + " " + owner + " and others." + suffix; - System.out.println(path + ": " + newDates); - - List<String> lines = readLines(file); - lines.set(copyrightLineNumber, copyrightLine); - - writeLines(file, lines); - } - - private List<String> readLines(File file) throws FileNotFoundException, IOException - { - Reader fileReader = null; - BufferedReader bufferedReader = null; - - try - { - fileReader = new FileReader(file); - bufferedReader = new BufferedReader(fileReader); - - List<String> lines = new ArrayList<String>(); - String line; - while ((line = bufferedReader.readLine()) != null) - { - lines.add(line); - } - - return lines; - } - finally - { - close(bufferedReader); - close(fileReader); - } - } - - private void writeLines(File file, List<String> lines) throws IOException - { - Writer fileWriter = null; - BufferedWriter bufferedWriter = null; - - try - { - fileWriter = new FileWriter(file); - bufferedWriter = new BufferedWriter(fileWriter); - - for (String line : lines) - { - bufferedWriter.write(line); - bufferedWriter.write(NL); - } - } - finally - { - close(bufferedWriter); - close(fileWriter); - } - } - - private void close(Closeable closeable) - { - if (closeable != null) - { - try - { - closeable.close(); - } - catch (IOException ex) - { - ex.printStackTrace(); - } - } - } - - private String formatYears(Collection<Integer> years) - { - class YearRange - { - private int begin; - - private int end; - - public YearRange(int begin) - { - this.begin = begin; - end = begin; - } - - public boolean add(int year) - { - if (year == end + 1) - { - end = year; - return true; - } - - return false; - } - - @Override - public String toString() - { - if (begin == end) - { - return "" + begin; - } - - if (begin == end - 1) - { - return "" + begin + ", " + end; - } - - return "" + begin + "-" + end; - } - } - - List<Integer> list = new ArrayList<Integer>(years); - Collections.sort(list); - - List<YearRange> ranges = new ArrayList<YearRange>(); - YearRange lastRange = null; - for (Integer year : list) - { - if (lastRange == null || !lastRange.add(year)) - { - lastRange = new YearRange(year); - ranges.add(lastRange); - } - } - - StringBuilder builder = new StringBuilder(); - for (YearRange range : ranges) - { - if (builder.length() != 0) - { - builder.append(", "); - } - - builder.append(range); - } - - return builder.toString(); - } - - private Set<Integer> parseOutFile() throws Exception - { - Set<Integer> years = new HashSet<Integer>(); - - FileReader fileReader = new FileReader(outFile); - BufferedReader bufferedReader = new BufferedReader(fileReader); - - try - { - LogEntry logEntry; - - // Start of file. First line has to be "--BEGIN-COMMIT--" - String line = bufferedReader.readLine(); - if (line != null) - { - if (!line.equals(BEGIN_COMMIT)) - { - throw new IllegalStateException("Read unexpected line " + line + " at beginning of file " - + outFile.getAbsolutePath()); - } - - // First line successfully read. Start processing of log entries - processing: // - for (;;) - { - String date = readLineSafe(bufferedReader); - logEntry = new LogEntry(date); - - // Follows the message until the summary marker is read - StringBuilder builder = new StringBuilder(); - while (!(line = readLineSafe(bufferedReader)).equals(BEGIN_MESSAGE)) - { - builder.append(line); - builder.append("\n"); - } - - logEntry.setMessage(builder.toString()); - - summaryReading: // - for (;;) - { - line = bufferedReader.readLine(); - if (line == null) - { - handleLogEntry(years, logEntry); - break processing; // End of file reached - } - - if (line.equals(BEGIN_COMMIT)) - { - handleLogEntry(years, logEntry); - break summaryReading; // End of summary section reached - } - - if (line.trim().length() == 0) - { - continue; // Read over empty lines - } - } - } - } - - return years; - } - finally - { - bufferedReader.close(); - fileReader.close(); - outFile.delete(); - } - } - - private String readLineSafe(BufferedReader bufferedReader) throws IOException - { - String result = bufferedReader.readLine(); - if (result == null) - { - throw new IllegalStateException("Unexpected end of stream"); - } - - return result; - } - - private void handleLogEntry(Set<Integer> years, LogEntry logEntry) - { - String message = logEntry.getMessage().toLowerCase(); - if (hasString(message, IGNORED_MESSAGES)) - { - return; - } - - int year = Integer.parseInt(logEntry.getDate().substring(0, 4)); - years.add(year); - } - - /** - * @author Eike Stepper - */ - public static class LogEntry - { - private String date; - - private String message; - - public LogEntry(String date) - { - this.date = date; - } - - public String getDate() - { - return date; - } - - public void setDate(String date) - { - this.date = date; - } - - public String getMessage() - { - return message; - } - - public void setMessage(String message) - { - this.message = message; - } - } -} diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitPullAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitPullAction.java index d03a34ad3a..d863b333b9 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitPullAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitPullAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitResetHardAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitResetHardAction.java index 7342b1b99b..b0f57da219 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitResetHardAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitResetHardAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitStatusAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitStatusAction.java index 91057c01d2..5aaba95d23 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitStatusAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/repository/GitStatusAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/AbstractRevisionAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/AbstractRevisionAction.java index 1d420accc5..efdcd60581 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/AbstractRevisionAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/AbstractRevisionAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/GitCherryPickAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/GitCherryPickAction.java index fee0ce8aee..13d08b376b 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/GitCherryPickAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/GitCherryPickAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/GitRebaseAction.java b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/GitRebaseAction.java index 184be7371b..544d8a0195 100644 --- a/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/GitRebaseAction.java +++ b/plugins/org.eclipse.emf.cdo.releng.gitbash/src/org/eclipse/emf/cdo/releng/gitbash/revision/GitRebaseAction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at |