Skip to content

Commit

Permalink
Enabled license header check in check style
Browse files Browse the repository at this point in the history
  • Loading branch information
anudeepsharma committed Feb 8, 2017
1 parent 14ad949 commit 9aebe52
Show file tree
Hide file tree
Showing 73 changed files with 151 additions and 215 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.credentials;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.credentials;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.credentials;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.credentials;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.credentials;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.credentials;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.credentials;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.serializer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure.serializer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.azure;
Expand Down
10 changes: 8 additions & 2 deletions build-tools/src/main/resources/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
<property name="file" value="${samedir}/suppressions.xml"/>
<property name="optional" value="true"/>
</module>

<module name="Header">
<property name="header" value="/**\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for\n * license information.\n"/>
<property name="fileExtensions" value="java"/>
</module>

<!--
If you set the basedir property below, then all reported file
names will be relative to the specified directory. See
Expand Down Expand Up @@ -86,7 +90,9 @@
<module name="JavadocMethod">
<property name="scope" value="public"/>
</module>
<module name="JavadocType"/>
<module name="JavadocType">
<property name="scope" value="public"/>
</module>
<module name="JavadocVariable">
<property name="scope" value="public"/>
</module>
Expand Down
1 change: 1 addition & 0 deletions build-tools/src/main/resources/suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@
<suppress checks="Javadoc" files=".*Test[s]?\.java"/>
<suppress checks="Javadoc" files=".*Test[s]?Base\.java"/>
<suppress checks="Javadoc" files=".*CoverageReporter\.java"/>
<suppress checks="Header" files=".*package-info.java"/>
</suppressions>
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.rest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.rest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.rest;
Expand Down
5 changes: 2 additions & 3 deletions client-runtime/src/main/java/com/microsoft/rest/LogLevel.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.rest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.rest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/

package com.microsoft.rest;
Expand Down
Loading

0 comments on commit 9aebe52

Please sign in to comment.