You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Eclipse Che I'm trying to adapt Google Java Style Guide eclipse-che/che#5772
As a part of this issue, I want to reformat all our codebase with google-java-format tool.
One of the issues I have is how EPL license looks like after formatting.
Before https://eclipse.org/legal/copyrightandlicensenotice.php
/*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* 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:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
After
/**
* ***************************************************************************** Copyright (c)
* 2012-2017 Codenvy, S.A. 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
*
* <p>Contributors: Codenvy, S.A. - initial API and implementation
* *****************************************************************************
Can you suggest me a better way to put result closer to the original?
I have two ideas for now.
/**
* *****************************************************************************<br>
* Copyright (c) 2012-2017 Codenvy, S.A.<br>
* All rights reserved. This program and the accompanying materials<br>
* are made available under the terms of the Eclipse Public License v1.0<br>
* which accompanies this distribution, and is available at<br>
* http://www.eclipse.org/legal/epl-v10.html<br>
*
* <p>Contributors:<br>
* Codenvy, S.A. - initial API and implementation<br>
* *****************************************************************************
*/
3. Try to move license from javadoc to comment.
The text was updated successfully, but these errors were encountered:
Is changing the license header style an option? /******************************************************************************* is technically the beginning of a javadoc comment. It might be better to use:
In Eclipse Che I'm trying to adapt Google Java Style Guide eclipse-che/che#5772
As a part of this issue, I want to reformat all our codebase with google-java-format tool.
One of the issues I have is how EPL license looks like after formatting.
Before https://eclipse.org/legal/copyrightandlicensenotice.php
After
Can you suggest me a better way to put result closer to the original?
I have two ideas for now.
<br>
at the end of each line.The text was updated successfully, but these errors were encountered: