Skip to content
Snippets Groups Projects
Commit 566adb50 authored by Georg Graßnick's avatar Georg Graßnick :thinking:
Browse files

Remove trailing periods from logging messages

parent 0e93800e
No related branches found
No related tags found
1 merge request!13Feat/rasterizer update 21
......@@ -26,7 +26,7 @@ public class FunctionalRasterizer<T extends Renderable> implements Rasterizer {
public FunctionalRasterizer(
final Class<T> supportedRenderableClass,
final Rasterizer<T> rasterizer) {
mLogger.info("Creating new FunctionalRasterizer: Binding rasterizer reference (renderable type {}): {}.",
mLogger.info("Creating new FunctionalRasterizer: Binding rasterizer reference (renderable type {}): {}",
supportedRenderableClass.getSimpleName(), rasterizer);
mSupportedRenderableClass = supportedRenderableClass;
mRasterizingAlgorithm = rasterizer::rasterize;
......
......@@ -105,7 +105,7 @@ public class ImageRasterizer implements Rasterizer<Image> {
private void linearMapping(final BufferedImage imgBuf, final RasterCanvas canvas) {
mLogger.trace("Applying linear mapping algorithm.");
mLogger.trace("Applying linear mapping algorithm");
// A canvas is basically a wrapper for multiple representations of printable data, each representing a page.
// These representations can be acquired by either requesting the current page or creating a new page.
......@@ -143,7 +143,7 @@ public class ImageRasterizer implements Rasterizer<Image> {
// This can lead to distortions because the original pixel raster is equidistant, but the output raster
// does not have to be equidistant.
mLogger.trace("Scanning through image pixel values...");
mLogger.trace("Starting scanning through image pixel values...");
// Scan through each pixel of the original image
for (int x = 0; x < imgBuf.getWidth(); x++) {
// Convert from original pixel x-position to braille dot x-position.
......@@ -164,7 +164,7 @@ public class ImageRasterizer implements Rasterizer<Image> {
private void quantifiedPositionMapping(final BufferedImage imgBuf, final RasterCanvas canvas) {
mLogger.trace("Applying quantified position algorithm.");
mLogger.trace("Applying quantified position algorithm");
MatrixData<Boolean> data = canvas.getNewPage();
......@@ -193,7 +193,7 @@ public class ImageRasterizer implements Rasterizer<Image> {
// In a second step, the calculated exact position is quantified to fit a dot position on the raster.
// Distortions can still be introduced but are minimized.
mLogger.trace("Scanning through image pixel values...");
mLogger.trace("Staring scanning through image pixel values...");
// Scan through all pixels of the original image
for (int x = 0; x < imgBuf.getWidth(); x++) {
// Convert from original pixel x-position to printed dot x-position in millimeters.
......
......@@ -63,7 +63,7 @@ public final class MasterRenderer {
}
private RasterCanvas createCompatibleRasterCanvas() throws InsufficientRenderingAreaException {
mLogger.info("Creating compatible RasterCanvas for current rendering context.");
mLogger.info("Creating compatible RasterCanvas for current rendering context");
return new SixDotBrailleRasterCanvas(mPrinter, mFormat);
/*
......
......@@ -170,7 +170,7 @@ public class RasterCanvas extends AbstractCanvas {
private void calculateSpacing() {
mLogger.trace("Pre calculating quantified raster positions.");
mLogger.trace("Pre calculating quantified raster positions");
mXPositions = calculateQuantizedPositions(mHorizontalDotDistance, mHorizontalCellDistance, mCellWidth, mHorizontalCellCount);
mLogger.trace("X coordinates: {}", mXPositions);
mYPositions = calculateQuantizedPositions(mVerticalDotDistance, mVerticalCellDistance, mCellHeight, mVerticalCellCount);
......
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