Skip to content

Correct copyright attribution in DocumentDirtyTracker files#77

Merged
carstenartur merged 2 commits into
copilot/fix-string-index-out-of-boundsfrom
copilot/update-copyright-headers
Feb 4, 2026
Merged

Correct copyright attribution in DocumentDirtyTracker files#77
carstenartur merged 2 commits into
copilot/fix-string-index-out-of-boundsfrom
copilot/update-copyright-headers

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 4, 2026

Files added in PR eclipse-jdt#2778 incorrectly attributed authorship to IBM Corporation. The actual author is Carsten Hammer with assistance from GitHub Copilot.

Changes

Updated copyright headers in both files:

  • org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/DocumentDirtyTracker.java
  • org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/DocumentDirtyTrackerTest.java

Changed from:

 * Copyright (c) 2025 IBM Corporation and others.
 * Contributors:
 *     IBM Corporation - initial API and implementation

To:

 * Copyright (c) 2025 Carsten Hammer and others.
 * Contributors:
 *     Carsten Hammer - initial API and implementation (with assistance from GitHub Copilot)

EPL-2.0 license terms unchanged.

Original prompt

Problem

The new files added in PR eclipse-jdt#2778 have incorrect copyright headers. The files were authored by Carsten Hammer (with assistance from GitHub Copilot), but the headers incorrectly attribute the work to IBM Corporation.

Files to Update

1. org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/refactoring/util/DocumentDirtyTracker.java

2. org.eclipse.jdt.core.manipulation.tests/src/org/eclipse/jdt/core/manipulation/tests/DocumentDirtyTrackerTest.java

Required Changes

In both files, change the copyright header from:

/*******************************************************************************
 * Copyright (c) 2025 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

To:

/*******************************************************************************
 * Copyright (c) 2025 Carsten Hammer and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     Carsten Hammer - initial API and implementation (with assistance from GitHub Copilot)
 *******************************************************************************/

Notes

  • Only the copyright line and contributors section need to be modified
  • The EPL-2.0 license information remains unchanged
  • This change properly attributes the original authorship of these new files

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: carstenartur <3164220+carstenartur@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix incorrect copyright headers in new files Correct copyright attribution in DocumentDirtyTracker files Feb 4, 2026
Copilot AI requested a review from carstenartur February 4, 2026 01:27
@carstenartur carstenartur marked this pull request as ready for review February 4, 2026 01:53
@carstenartur carstenartur merged commit 2091c33 into copilot/fix-string-index-out-of-bounds Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants