@@ -95,19 +95,19 @@ pub fn filterByAnnotation(f: string) -> bool {
9595pub fn getAutoGeneratedFiles(n: string) -> bool {
9696 let (db = default_db()) {
9797 for (f in File(db)) {
98- if (n = f.getRelativePath()) {
99- if (filterByFolderNames(f)) {
100- if (filterByAnnotation(n)) {
101- return true
102- }
103- if (filterByKeyWords(n)) {
104- return true
98+ if (n = f.getRelativePath()) {
99+ if (filterByFolderNames(f)) {
100+ if (filterByAnnotation(n)) {
101+ return true
102+ }
103+ if (filterByKeyWords(n)) {
104+ return true
105+ }
105106 }
106107 }
107108 }
108109 }
109110}
110- }
111111
112112schema PublicVisitedElement extends Callable {
113113
@@ -121,7 +121,7 @@ impl PublicVisitedElement {
121121 pub fn __all__(db: JavaDB) -> *PublicVisitedElement {
122122 for (tmp in Callable(db)) {
123123 yield PublicVisitedElement {
124- id : tmp.id
124+ id: tmp.id
125125 }
126126 }
127127 }
@@ -204,7 +204,7 @@ pub fn getPublicElementLocInfo(e: PublicVisitedElement, i: int, j: int) -> bool
204204pub fn getJavadocCommentLocInfo(e: JavadocComment, i: int, j: int) -> bool {
205205 let (db = default_db()) {
206206 for (n in int::__undetermined_all__()) {
207- if (i = e.getLocation().getFile().element_hash_id) {
207+ if (i = e.getLocation().getFile().element_hash_id) {
208208 if (n = e.getLocation().getStartLineNumber()) {
209209 if (j = n - 1) {
210210 return true
@@ -225,27 +225,27 @@ pub fn connectDoc(j: JavadocComment, e: PublicVisitedElement) -> bool {
225225 let (db = default_db()) {
226226 for (i in int::__undetermined_all__(),
227227 m in int::__undetermined_all__()) {
228- if (getJavadocCommentLocInfo(j, i, m)) {
229- if (getPublicElementLocInfo(e, i, m)) {
230- return true
231- }
228+ if (getJavadocCommentLocInfo(j, i, m)) {
229+ if (getPublicElementLocInfo(e, i, m)) {
230+ return true
232231 }
233232 }
233+ }
234234 }
235235}
236236
237237pub fn hasComment(e: PublicVisitedElement, tmp_j: int) -> bool {
238238 let (db = default_db()) {
239239 for (j in JavadocComment(db)) {
240240 if (j.element_hash_id = tmp_j) {
241- if (e.key_eq(j.getDocumentableElement())) {
242- return true
243- }
244- if (connectDoc(j, e)) {
245- return true
241+ if (e.key_eq(j.getDocumentableElement())) {
242+ return true
243+ }
244+ if (connectDoc(j, e)) {
245+ return true
246+ }
246247 }
247248 }
248- }
249249 for (j in Comment(db)) {
250250 if (j = e.getPossibleAboveComment() &&
251251 j.element_hash_id = tmp_j) {
0 commit comments