Skip to content
Snippets Groups Projects
Commit 4880ba66 authored by Andrey Ruzhanskiy's avatar Andrey Ruzhanskiy
Browse files

removed colon

parent 8a597bab
No related branches found
No related tags found
1 merge request!34Feat/brailletext update 54
...@@ -56,7 +56,7 @@ public class LiblouisBrailleTextRasterizer implements Rasterizer<BrailleText> { ...@@ -56,7 +56,7 @@ public class LiblouisBrailleTextRasterizer implements Rasterizer<BrailleText> {
String tableFilePath = tableFile.getAbsolutePath(); String tableFilePath = tableFile.getAbsolutePath();
mTranslator = new Translator(tableFilePath); mTranslator = new Translator(tableFilePath);
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException("Error while creating liblouis translator:", e); throw new RuntimeException("Error while creating liblouis translator", e);
} }
} }
...@@ -73,7 +73,7 @@ public class LiblouisBrailleTextRasterizer implements Rasterizer<BrailleText> { ...@@ -73,7 +73,7 @@ public class LiblouisBrailleTextRasterizer implements Rasterizer<BrailleText> {
String tableFilePath = tableFile.getAbsolutePath(); String tableFilePath = tableFile.getAbsolutePath();
mTranslator = new Translator(tableFilePath); mTranslator = new Translator(tableFilePath);
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException("Error while creating liblouis translator:", e); throw new RuntimeException("Error while creating liblouis translator", e);
} }
Rectangle rect = data.getArea().intersectedWith(canvas.getDotRectangle()); Rectangle rect = data.getArea().intersectedWith(canvas.getDotRectangle());
mCanvas = canvas; mCanvas = canvas;
...@@ -189,7 +189,7 @@ public class LiblouisBrailleTextRasterizer implements Rasterizer<BrailleText> { ...@@ -189,7 +189,7 @@ public class LiblouisBrailleTextRasterizer implements Rasterizer<BrailleText> {
String tableFilePath = tableFile.getAbsolutePath(); String tableFilePath = tableFile.getAbsolutePath();
mTranslator = new Translator(tableFilePath); mTranslator = new Translator(tableFilePath);
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException("Error while creating liblouis translator:", e); throw new RuntimeException("Error while creating liblouis translator", e);
} }
int length = calculateRequiredHeight(text, maxWidth, canvas); int length = calculateRequiredHeight(text, maxWidth, canvas);
mTranslator = temp; mTranslator = temp;
...@@ -235,7 +235,7 @@ public class LiblouisBrailleTextRasterizer implements Rasterizer<BrailleText> { ...@@ -235,7 +235,7 @@ public class LiblouisBrailleTextRasterizer implements Rasterizer<BrailleText> {
String tableFilePath = tableFile.getAbsolutePath(); String tableFilePath = tableFile.getAbsolutePath();
mTranslator = new Translator(tableFilePath); mTranslator = new Translator(tableFilePath);
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException("Error while creating liblouis translator:", e); throw new RuntimeException("Error while creating liblouis translator", e);
} }
int length = getBrailleStringLength(text); int length = getBrailleStringLength(text);
mTranslator = temp; mTranslator = temp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment