Skip to content

Commit

Permalink
Automatic lint fixes
Browse files Browse the repository at this point in the history
Summary:
@public
A round of automatic lint fixes.

Reviewed By: SidharthGuglani

Differential Revision: D14590396

fbshipit-source-id: f0b4a0ce503a1d9d46ea7ae788f9f2eac09c2ac7
  • Loading branch information
davidaurelio authored and facebook-github-bot committed Mar 25, 2019
1 parent 7d7b7b9 commit 85352c4
Show file tree
Hide file tree
Showing 66 changed files with 832 additions and 916 deletions.
@@ -1,5 +1,9 @@
// Copyright 2004-present Facebook. All Rights Reserved.

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.samples.yoga;

import android.content.Intent;
Expand Down
@@ -1,5 +1,9 @@
// Copyright 2004-present Facebook. All Rights Reserved.

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.samples.yoga;

import java.io.File;
Expand Down
@@ -1,5 +1,9 @@
// Copyright 2004-present Facebook. All Rights Reserved.

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.samples.yoga;


Expand Down
@@ -1,5 +1,9 @@
// Copyright 2004-present Facebook. All Rights Reserved.

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.samples.yoga;

import android.os.Bundle;
Expand Down
@@ -1,5 +1,9 @@
// Copyright 2004-present Facebook. All Rights Reserved.

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.samples.yoga;

import android.os.Bundle;
Expand Down
@@ -1,5 +1,9 @@
// Copyright 2004-present Facebook. All Rights Reserved.

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.samples.yoga;

import android.os.Bundle;
Expand Down
@@ -1,11 +1,9 @@
/**
* Copyright 2014-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the license found in the
* LICENSE-examples file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

package com.facebook.samples.yoga;

import android.content.Intent;
Expand Down
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

package com.facebook.yoga.android;

import java.util.HashMap;
Expand Down
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

package com.facebook.yoga.android;

import android.content.Context;
Expand Down
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

package com.facebook.yoga.android;

import android.content.Context;
Expand Down
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

package com.facebook.proguard.annotations;

import java.lang.annotation.ElementType;
Expand Down
9 changes: 4 additions & 5 deletions java/tests/com/facebook/yoga/TestParametrization.java
@@ -1,9 +1,8 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.yoga;

Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGAbsolutePositionTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGAbsolutePositionTest.html

package com.facebook.yoga;
Expand Down
4 changes: 2 additions & 2 deletions java/tests/com/facebook/yoga/YGAlignBaselineTest.java
@@ -1,8 +1,8 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
package com.facebook.yoga;

Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGAlignContentTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGAlignContentTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGAlignItemsTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGAlignItemsTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGAlignSelfTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGAndroidNewsFeed.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGAndroidNewsFeed.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGBorderTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGBorderTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGDimensionTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGDimensionTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGDisplayTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGDisplayTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGFlexDirectionTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGFlexDirectionTest.html

package com.facebook.yoga;
Expand Down
4 changes: 2 additions & 2 deletions java/tests/com/facebook/yoga/YGFlexTest.java
@@ -1,8 +1,8 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
// @Generated by gentest/gentest.rb from gentest/fixtures/YGFlexTest.html

Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGFlexWrapTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGFlexWrapTest.html

package com.facebook.yoga;
Expand Down
4 changes: 2 additions & 2 deletions java/tests/com/facebook/yoga/YGJustifyContentTest.java
@@ -1,8 +1,8 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
// @Generated by gentest/gentest.rb from gentest/fixtures/YGJustifyContentTest.html

Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGMarginTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGMarginTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGMinMaxDimensionTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGPaddingTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGPaddingTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGPercentageTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGPercentageTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGRoundingTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGRoundingTest.html

package com.facebook.yoga;
Expand Down
5 changes: 2 additions & 3 deletions java/tests/com/facebook/yoga/YGSizeOverflowTest.java
@@ -1,10 +1,9 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/YGSizeOverflowTest.html

package com.facebook.yoga;
Expand Down

0 comments on commit 85352c4

Please sign in to comment.