Skip to content

Commit dae2c63

Browse files
committed
updated documentation style
1 parent 25401ca commit dae2c63

File tree

10 files changed

+773
-658
lines changed

10 files changed

+773
-658
lines changed

AAD-Preparation/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ android {
7979
resultsDir "$rootDir/test-results"
8080
reportDir "$rootDir/test-reports"
8181
unitTests {
82-
// Your unit tests can then access compiled versions of your resources, allowing the tests to run more quickly and accurately.
82+
// Your unit tests can then access compiled versions of your resources, letting the tests run more quickly and accurately.
8383
// includeAndroidResources = true
8484
}
8585
}

AAD-Preparation/app/proguard-rules.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#-keepattributes SourceFile,LineNumberTable
1818

1919
# If you keep the line number information, uncomment this to
20-
# hide the original source file name.
20+
# hide the original source filename.
2121
#-renamesourcefileattribute SourceFile
2222

2323
-keep com.catherine.materialdesignapp.listeners.ProguardIgnored

AAD-Preparation/app/src/main/java/com/catherine/materialdesignapp/activities/BaseActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ protected void onResume() {
9898
*/
9999
@Override
100100
public boolean onCreateOptionsMenu(Menu menu) {
101-
// Inflate the menu; this adds items to the action bar if it is present.
101+
// Inflate the menu; this adds items to the app bar if it is present.
102102
getMenuInflater().inflate(R.menu.main_menu, menu);
103103

104104
Storage storage = new Storage(this);

AAD-Preparation/app/src/main/java/com/catherine/materialdesignapp/activities/CursorLoaderActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ class CallLogs {
453453
*/
454454
static final int FEATURES_HD_CALL = 1 << 2;
455455
/**
456-
* Call was WIFI call.
456+
* Call was WI-FI call.
457457
*/
458458
static final int FEATURES_WIFI = 1 << 3;
459459
/**

AAD-Preparation/app/src/main/java/com/catherine/materialdesignapp/activities/DynamicDeliveryActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private void onStateUpdate(SplitInstallSessionState state) {
251251
case SplitInstallSessionStatus.REQUIRES_USER_CONFIRMATION:
252252
/*
253253
This may occur when attempting to download a sufficiently large module.
254-
In order to see this, the application has to be uploaded to the Play Store.
254+
To see this, the application has to be uploaded to the Play Store.
255255
Then features can be requested until the confirmation path is triggered.
256256
*/
257257
Log.d(TAG, "startConfirmationDialogForResult");

AAD-Preparation/app/src/main/java/com/catherine/materialdesignapp/activities/SearchableSongsActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private void handleIntent(Intent intent) {
133133

134134
@Override
135135
public boolean onCreateOptionsMenu(Menu menu) {
136-
// Inflate the menu; this adds items to the action bar if it is present.
136+
// Inflate the menu; this adds items to the app bar if it is present.
137137
getMenuInflater().inflate(R.menu.searchable_menu, menu);
138138

139139
SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);

AAD-Preparation/app/src/main/java/com/catherine/materialdesignapp/activities/UIComponentsActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private void initComponent(Bundle savedInstanceState) {
100100

101101
@Override
102102
public boolean onCreateOptionsMenu(Menu menu) {
103-
// Inflate the menu; this adds items to the action bar if it is present.
103+
// Inflate the menu; this adds items to the app bar if it is present.
104104
getMenuInflater().inflate(R.menu.ui_components_menu, menu);
105105

106106
SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);

AAD-Preparation/app/src/main/java/com/catherine/materialdesignapp/utils/NotificationUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class NotificationUtils extends ContextWrapper {
2222
public NotificationUtils(Context context) {
2323
super(context);
2424
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
25-
throw new IllegalArgumentException("Please call NotificationUtils(Context, ChannelInfo)");
25+
throw new IllegalArgumentException("Call NotificationUtils(Context, ChannelInfo)");
2626
}
2727

2828

KotlinFromScratch/src/Lambdas.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Lambdas {
2020

2121
println("")
2222
println("Replace callbacks - Kotlin style")
23-
// By using higher-order functions, the above code could be optimised
23+
// By using higher-order functions, the preceding code could be optimised
2424
val kotlinButton = KotlinButton()
2525
kotlinButton.setOnClickListener {
2626
println("onClick")

0 commit comments

Comments
 (0)