Skip to content

Commit

Permalink
Updated copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
sangupta committed Apr 12, 2019
1 parent 5fb9528 commit b0b0216
Show file tree
Hide file tree
Showing 20 changed files with 82 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/CSS3Colors.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
23 changes: 21 additions & 2 deletions src/main/java/com/sangupta/colors/ColorModel.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
* 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.sangupta.colors;

/**
* Helps define all color models to a single base.
* Marker interface to help define all color models to a single base.
*
* @author sangupta
*
* @since 1.0.0
*/
public interface ColorModel {

Expand Down
25 changes: 25 additions & 0 deletions src/main/java/com/sangupta/colors/ColorUtils.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
* 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.sangupta.colors;

/**
* Utility functions.
*
* @author sangupta
* @since 1.0.0
*/
public class ColorUtils {

/**
Expand Down
19 changes: 19 additions & 0 deletions src/main/java/com/sangupta/colors/Swatch.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
* 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.sangupta.colors;

import java.util.ArrayList;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/CMY.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/CMYK.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/HSB.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/HSI.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/HSL.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/HunterLAB.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/LAB.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/LCH.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/LUV.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/RGB.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/RGBA.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/XYZ.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/YIQ.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/YUV.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sangupta/colors/model/Yxy.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* colors - Strongly typed immutable color models
* Copyright (c) 2017, Sandeep Gupta
* Copyright (c) 2017-present, Sandeep Gupta
*
* https://sangupta.com/projects/colors
*
Expand Down

0 comments on commit b0b0216

Please sign in to comment.