Permalink
Browse files

Duplicate subexpression in Proses1.java

`recSblum.chapter_1` is repeated. Looks like this should be `rec.chapter_1`.
  • Loading branch information...
1 parent d738ff7 commit 47a647f5ef2caa7d2ce336faf2fc6bcb2b5c9e16 @kilida kilida committed Mar 22, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 AlkitabConverterProcesses/src/yuku/alkitabconverter/in_tb_2/Proses1.java
@@ -42,7 +42,7 @@ private void u() throws Exception {
if (rec.text.startsWith("@@@8")) {
Rec recSblum = xrec.get(i - 1);
- if (recSblum.book_1 == rec.book_1 && recSblum.chapter_1 == recSblum.chapter_1) {
+ if (recSblum.book_1 == rec.book_1 && recSblum.chapter_1 == rec.chapter_1) {
while (rec.text.substring(2, 4).equals("@8")) {
rec.text = "@@" + rec.text.substring(4); // buang @8
recSblum.text = recSblum.text + "@8"; // tambah @8

0 comments on commit 47a647f

Please sign in to comment.