lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7013) Move license header before package declaration in all *.java files
Date Thu, 04 Feb 2016 16:21:39 GMT


ASF subversion and git services commented on LUCENE-7013:

Commit 63d62f6a61cbfe07d07c6ff6ff275609ee58e9a8 in lucene-solr's branch refs/heads/branch_5x
from [~shaie]
[;h=63d62f6 ]

LUCENE-7013: Move license header to top of file (5x only)

> Move license header before package declaration in all *.java files
> ------------------------------------------------------------------
>                 Key: LUCENE-7013
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>         Attachments: LUCENE-7013.patch,,
> In LUCENE-7012 we committed a change to the IDE templates to place the license header
before the package declaration in new Java files.
> I wrote a simple Python script which moves the header before the package declaration.
To be on the safe side, if a .java file does not already start with the license header or
with {{package org.apache}}, it doesn't modify it and asks for manual intervention.
> It runs quite fast, so I don't mind running and committing one module at a time.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message