Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public void onBackPressed() {
mHoverView.collapse();
}

private void createTabsForIndices(int ... sectionIndices) {
private void createTabsForIndices(int... sectionIndices) {
for (int sectionIndex : sectionIndices) {
Log.d(TAG, "Creating tab for section at index " + sectionIndex);
HoverMenu.Section section = mHoverView.mMenu.getSection(sectionIndex);
Expand Down Expand Up @@ -362,7 +362,7 @@ private void reorderSection(int fromPosition, int toPosition) {
updateChainedPositions();
}

private void updateSections(int ... sectionIndices) {
private void updateSections(int... sectionIndices) {
Log.d(TAG, "Tab(s) changed: " + Arrays.toString(sectionIndices));
for (int sectionIndex : sectionIndices) {
updateSection(sectionIndex);
Expand All @@ -386,7 +386,7 @@ private void updateSection(int sectionIndex) {
}
}

private void removeSections(int ... sectionIndices) {
private void removeSections(int... sectionIndices) {
Log.d(TAG, "Tab(s) removed: " + Arrays.toString(sectionIndices));
// Sort the indices so that they appear from lowest to highest. Then process
// in reverse order so that we don't remove sections out from under us.
Expand Down