Skip to content

Commit

Permalink
Make color ctor public (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinShalit authored and PeterJohnson committed Jan 4, 2020
1 parent bc8f68b commit f50d710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wpilibj/src/main/java/edu/wpi/first/wpilibj/util/Color.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Copyright (c) 2019-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
Expand Down Expand Up @@ -754,7 +754,7 @@ public class Color {
* @param green Green value (0-1)
* @param blue Blue value (0-1)
*/
Color(double red, double green, double blue) {
public Color(double red, double green, double blue) {
this.red = roundAndClamp(red);
this.green = roundAndClamp(green);
this.blue = roundAndClamp(blue);
Expand Down

0 comments on commit f50d710

Please sign in to comment.