Skip to content

Commit

Permalink
pass compile
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaijack committed Jul 30, 2017
1 parent ccd7448 commit 6957e46
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
Expand Up @@ -1665,7 +1665,7 @@ protected void repairLogSegment(BookKeeperAdmin bkAdmin,
System.out.println("Skip inprogress log segment " + segment);
return;
}
LedgerHandle lh = bkAdmin.openLedger(segment.getLogSegmentId(), true);
LedgerHandle lh = bkAdmin.openLedger(segment.getLogSegmentId());
long lac = lh.getLastAddConfirmed();
Enumeration<LedgerEntry> entries = lh.readEntries(lac, lac);
if (!entries.hasMoreElements()) {
Expand Down
17 changes: 12 additions & 5 deletions pom.xml
Expand Up @@ -171,7 +171,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
<tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
<descriptor>src/assemble/src.xml</descriptor>
</descriptors>
Expand Down Expand Up @@ -230,12 +230,12 @@
<exclude>ChangeLog</exclude>
<exclude>**/README.md</exclude>
<exclude>**/apidocs/*</exclude>
<exclude>GROUPS</exclude>
<exclude>OWNERS</exclude>
<exclude>CONFIG.ini</exclude>
<exclude>GROUPS</exclude>
<exclude>OWNERS</exclude>
<exclude>CONFIG.ini</exclude>
<exclude>**/**.md</exclude>
<exclude>scripts/dev/reviewers</exclude>
<exclude>src/main/resources/DISCLAIMER.bin.txt</exclude>
<exclude>src/main/resources/DISCLAIMER.bin.txt</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>**/org/apache/distributedlog/thrift/*</exclude>
</excludes>
Expand All @@ -260,4 +260,11 @@
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>twitter-repo</id>
<name>Twitter Maven Repo</name>
<url>http://maven.twttr.com</url>
</repository>
</repositories>
</project>

0 comments on commit 6957e46

Please sign in to comment.