Skip to content

Commit

Permalink
Обновления
Browse files Browse the repository at this point in the history
  • Loading branch information
demidko committed Oct 26, 2021
1 parent 36050c7 commit 5b752d2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
`maven-publish`
}
dependencies {
implementation("com.github.demidko:aot-bytecode:2021.10.26")
api("com.github.demidko:aot-bytecode:2021.10.27")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
testImplementation("org.hamcrest:hamcrest:2.2")
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package com.github.demidko.aot;

import static com.github.demidko.aot.bytecode.Bytecode.isContent;
import static com.github.demidko.aot.bytecode.MorphologyTag.values;
import static com.github.demidko.aot.bytecode.Utils.safeByteToChar;
import static com.github.demidko.aot.Bytecode.isContent;
import static com.github.demidko.aot.MorphologyTag.values;
import static com.github.demidko.aot.Utils.safeByteToChar;

import com.github.demidko.aot.bytecode.MorphologyTag;
import java.util.HashMap;
import java.util.Map;

class Reader {
class AotReader {

static MorphologyTag[][] readMorph(ByteBlock block) {
MorphologyTag[][] result = new MorphologyTag[block.getLinesCount()][];
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/github/demidko/aot/PartOfSpeech.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.github.demidko.aot;

import com.github.demidko.aot.bytecode.MorphologyTag;

/**
* Часть речи, например существительное, глагол и т. д.
*/
Expand Down
9 changes: 4 additions & 5 deletions src/main/java/com/github/demidko/aot/WordformMeaning.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
package com.github.demidko.aot;

import static com.github.demidko.aot.AotReader.readLemmas;
import static com.github.demidko.aot.AotReader.readMorph;
import static com.github.demidko.aot.AotReader.readRefs;
import static com.github.demidko.aot.AotReader.readStrings;
import static com.github.demidko.aot.ByteBlock.readBlockFrom;
import static com.github.demidko.aot.PartOfSpeech.partOfSpeech;
import static com.github.demidko.aot.Reader.readLemmas;
import static com.github.demidko.aot.Reader.readMorph;
import static com.github.demidko.aot.Reader.readRefs;
import static com.github.demidko.aot.Reader.readStrings;
import static java.util.Arrays.asList;
import static java.util.Collections.emptyList;
import static java.util.Objects.hash;

import com.github.demidko.aot.bytecode.MorphologyTag;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.UncheckedIOException;
Expand Down

0 comments on commit 5b752d2

Please sign in to comment.