From f50d710a5edacbc4022020beaee867dc8bc83cd9 Mon Sep 17 00:00:00 2001 From: Austin Shalit Date: Sat, 4 Jan 2020 08:28:18 -0800 Subject: [PATCH] Make color ctor public (#2222) --- wpilibj/src/main/java/edu/wpi/first/wpilibj/util/Color.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/util/Color.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/util/Color.java index e4d5b697f23..7864ffe92f6 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/util/Color.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/util/Color.java @@ -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. */ @@ -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);