Skip to content
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

updated varible in limitactivity #88

Merged
merged 5 commits into from
Dec 4, 2022
Merged

Conversation

aditi-v79
Copy link
Collaborator

No description provided.

@@ -148,14 +148,14 @@ public void onClick(View view) {
public void onDataChange(@NonNull DataSnapshot snapshot) {
for (DataSnapshot snapshot3 : snapshot.getChildren()) {
if (Integer.parseInt(snapshot3.child("Day").getValue().toString()) == (thisDay)) {
String amm = (snapshot3.child("Amount").getValue()).toString();
String amm = (snapshot3.child("Amount").getValue().toString());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck> reported by reviewdog 🐶
'if' child has incorrect indentation level 24, expected level should be one of the following: 16, 18, 20.

int am1 = Integer.parseInt(amm);
day_tol = am1 + day_tol;
}
}

System.out.println("Day-total " + day_tol);
if (dt > Integer.parseInt(sharedPreferences.getString(DLIMIT,"0"))){
if (day_tol > Integer.parseInt(sharedPreferences.getString(DLIMIT,"0"))){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck> reported by reviewdog 🐶
',' is not followed by whitespace.

int am1 = Integer.parseInt(amm);
day_tol = am1 + day_tol;
}
}

System.out.println("Day-total " + day_tol);
if (dt > Integer.parseInt(sharedPreferences.getString(DLIMIT,"0"))){
if (day_tol > Integer.parseInt(sharedPreferences.getString(DLIMIT,"0"))){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck> reported by reviewdog 🐶
WhitespaceAround: '{' is not preceded with whitespace.

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2022

Codecov Report

Merging #88 (77bd1b5) into main (145b1d4) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #88   +/-   ##
=======================================
  Coverage   90.24%   90.24%           
=======================================
  Files          31       31           
  Lines       13608    13608           
  Branches      131      131           
=======================================
  Hits        12281    12281           
  Misses       1284     1284           
  Partials       43       43           
Impacted Files Coverage Δ
...ain/java/com/xa/xpensauditor/SetLimitActivity.java 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants