Skip to content
Snippets Groups Projects
Commit 22acdb54 authored by Kurt Partridge's avatar Kurt Partridge
Browse files

[TestPrep4] Add some finals

Change-Id: Ib437a6ad7fd6a897e2bbc65afe881ae8a3b1cbb0
parent 19e05359
No related branches found
No related tags found
No related merge requests found
...@@ -222,10 +222,10 @@ public abstract class MainLogBuffer extends FixedLogBuffer { ...@@ -222,10 +222,10 @@ public abstract class MainLogBuffer extends FixedLogBuffer {
final boolean canIncludePrivateData); final boolean canIncludePrivateData);
@Override @Override
protected void shiftOutWords(int numWords) { protected void shiftOutWords(final int numWords) {
int oldNumActualWords = getNumActualWords(); final int oldNumActualWords = getNumActualWords();
super.shiftOutWords(numWords); super.shiftOutWords(numWords);
int numWordsShifted = oldNumActualWords - getNumActualWords(); final int numWordsShifted = oldNumActualWords - getNumActualWords();
mNumWordsUntilSafeToSample -= numWordsShifted; mNumWordsUntilSafeToSample -= numWordsShifted;
if (DEBUG) { if (DEBUG) {
Log.d(TAG, "wordsUntilSafeToSample now at " + mNumWordsUntilSafeToSample); Log.d(TAG, "wordsUntilSafeToSample now at " + mNumWordsUntilSafeToSample);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment