mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 09:45:04 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -5,7 +5,9 @@ package com.thealgorithms.bitmanipulation;
|
||||
* @author Bama Charan Chhandogi
|
||||
*/
|
||||
|
||||
public class NumbersDifferentSigns {
|
||||
public final class NumbersDifferentSigns {
|
||||
private NumbersDifferentSigns() {
|
||||
}
|
||||
|
||||
public static boolean differentSigns(int num1, int num2) {
|
||||
return (num1 ^ num2) < 0;
|
||||
|
Reference in New Issue
Block a user