Skip to content

Commit

Permalink
Fix checkstyle issues Azure#3
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuel Vecchio (Southworks SRL) committed Sep 29, 2017
1 parent 0e39b9d commit a50e0e6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Copyright Microsoft Corporation
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -21,7 +21,7 @@

/**
* Provides functionality to create a media services configuration.
*
*
*/
public final class MediaConfiguration {

Expand All @@ -32,7 +32,7 @@ private MediaConfiguration() {
* The token provider object
*/
public static final String AZURE_AD_TOKEN_PROVIDER = "media.azuread.tokenprovider";

/**
* The azure media services account uri
*/
Expand All @@ -45,12 +45,12 @@ private MediaConfiguration() {
* @return a Configuration
*/
public static Configuration configureWithAzureAdTokenProvider(
URI apiServer,
AzureAdTokenProvider azureAdTokenProvider) {
return configureWithAzureAdTokenProvider(Configuration.getInstance(), apiServer, azureAdTokenProvider);
URI apiServer,
AzureAdTokenProvider azureAdTokenProvider) {

return configureWithAzureAdTokenProvider(Configuration.getInstance(), apiServer, azureAdTokenProvider);
}

/**
* Setup a Configuration with specified Configuration, AMS account and token provider
* @param configuration The target configuration
Expand All @@ -59,12 +59,12 @@ public static Configuration configureWithAzureAdTokenProvider(
* @return the target Configuration
*/
public static Configuration configureWithAzureAdTokenProvider(
Configuration configuration,
URI apiServer,
AzureAdTokenProvider azureAdTokenProvider) {
Configuration configuration,
URI apiServer,
AzureAdTokenProvider azureAdTokenProvider) {

configuration.setProperty(AZURE_AD_API_SERVER, apiServer.toString());
configuration.setProperty(AZURE_AD_TOKEN_PROVIDER, azureAdTokenProvider);
configuration.setProperty(AZURE_AD_API_SERVER, apiServer.toString());
configuration.setProperty(AZURE_AD_TOKEN_PROVIDER, azureAdTokenProvider);

return configuration;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import java.net.URISyntaxException;

public class AzureEnvironmentConstants {
// Utility classes should not have a public or default constructor.
private AzureEnvironmentConstants() {
}

// Utility classes should not have a public or default constructor.
private AzureEnvironmentConstants() {
}

/**
* The Active Directory endpoint for Azure Cloud environment.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.microsoft.windowsazure.services.media.authentication;

public class AzureEnvironments {
// Utility classes should not have a public or default constructor.
private AzureEnvironments() {
}
public final class AzureEnvironments {

// Utility classes should not have a public or default constructor.
private AzureEnvironments() {
}

/**
* Azure Cloud environment.
*/
Expand Down

0 comments on commit a50e0e6

Please sign in to comment.