Skip to content

Commit 0ee9b88

Browse files
committed
fix doc error
1 parent 7fdf8f0 commit 0ee9b88

File tree

4 files changed

+18
-22
lines changed

4 files changed

+18
-22
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ buildscript {
2222
allprojects {
2323
repositories {
2424
jcenter()
25-
maven { url "https://jitpack.io" }
25+
maven { url 'https://jitpack.io' }
2626
maven {
2727
url 'https://maven.google.com/'
2828
name 'Google'

componentlib/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ dependencies {
4444
})
4545
testCompile 'junit:junit:4.12'
4646
compile project(':router-annotation')
47+
// compile 'com.github.mqzhangw:JIMU:router-anno1.0.1'
4748
compile 'com.google.code.gson:gson:2.8.2'
4849

4950
}

componentlib/src/main/java/com/luojilab/component/componentlib/router/ui/AbsDispatcherActivity.java

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,21 @@
1515
* <p>
1616
* Register your own impl each component as follow in manifest:
1717
* <p>
18-
*
18+
* <p>
1919
* <pre class="prettyprint">
20-
* &lt;activity android:name=".XXXXXXX"&gt;
21-
*
22-
* &lt;intent-filter&gt;
23-
* &lt;data
24-
* android:host="AAA.BBB.CCC"
25-
* android:scheme="http"/&gt;
26-
*
27-
* &lt;action android:name="android.intent.action.VIEW"/&gt;
28-
*
29-
* &lt;category android:name="android.intent.category.DEFAULT"/&gt;
30-
* &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
31-
* &lt;/intent-filter&gt;
32-
*
33-
* &lt;/activity&gt;
20+
* &lt;activity android:name=".XXXXXXX"&gt;
21+
* &lt;intent-filter&gt;
22+
* &lt;data
23+
* android:host="AAA.BBB.CCC"
24+
* android:scheme="http"/&gt;
25+
* &lt;action android:name="android.intent.action.VIEW"/&gt;
26+
* &lt;category android:name="android.intent.category.DEFAULT"/&gt;
27+
* &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
28+
* &lt;/intent-filter&gt;
29+
* &lt;/activity&gt;
3430
* </pre>
35-
*
36-
*
37-
* </p>
31+
* <p>
32+
* <p>
3833
* Created by leobert on 14/01/2018.
3934
*/
4035
public abstract class AbsDispatcherActivity extends AppCompatActivity {
@@ -70,7 +65,7 @@ private void handleUriRequestFromOuter(Uri uri) {
7065
if (needTransferUri(uri))
7166
uri = transferUri(uri);
7267

73-
VerifyResult verifyResult = UIRouter.getInstance().verifyUri(uri,null,true);
68+
VerifyResult verifyResult = UIRouter.getInstance().verifyUri(uri, null, true);
7469

7570
if (verifyResult.isSuccess()) {
7671
try {
@@ -80,7 +75,7 @@ private void handleUriRequestFromOuter(Uri uri) {
8075
onExceptionWhenOpenUri(uri, e);
8176
}
8277
} else {
83-
onVerifyFailed(verifyResult.getThrowable());
78+
onVerifyFailed(verifyResult.getThrowable());
8479
}
8580

8681
onHandled();

router-anno-compiler/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ext {
66
artifact = bintrayName
77
libraryName = 'router-anno-compiler'
88
libraryDescription = 'router-anno-compiler'
9-
libraryVersion = "1.0.0"
9+
libraryVersion = "1.0.1"
1010
licenseName = 'The Apache Software License, Version 2.0'
1111
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
1212
allLicenses = ["Apache-2.0"]

0 commit comments

Comments
 (0)