Skip to content

style: enable ParameterName in CheckStyle. #5196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 31, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Refactored to fix bug caused by selfAssignment of variables in Vector…
…Crossproduct class
  • Loading branch information
CodaBlurd committed May 30, 2024
commit 8144ddc29d98f9563c4fcde174b7187783e5b155
14 changes: 7 additions & 7 deletions src/main/java/com/thealgorithms/maths/VectorCrossProduct.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ public class VectorCrossProduct {
/**
* constructor, initialises Vector with given Direction Ratios
*
* @param x set to x
* @param y set to y
* @param z set to z
* @param vectorX set to x
* @param vectorY set to y
* @param vectorZ set to z
*/
VectorCrossProduct(int x, int y, int z) {
x = x;
y = y;
z = z;
VectorCrossProduct(int vectorX, int vectorY, int vectorZ) {
x = vectorX;
y = vectorY;
z = vectorZ;
}

/**
Expand Down