Skip to content
Snippets Groups Projects
Commit 4f62944a authored by tpylak's avatar tpylak
Browse files

minor: assert

SVN: 17334
parent 0c5182b6
No related branches found
No related tags found
No related merge requests found
...@@ -229,6 +229,7 @@ public class ImageChannelsUtils ...@@ -229,6 +229,7 @@ public class ImageChannelsUtils
for (IContent imageFile : imageFiles) for (IContent imageFile : imageFiles)
{ {
BufferedImage image = ImageUtil.loadImage(imageFile.getInputStream()); BufferedImage image = ImageUtil.loadImage(imageFile.getInputStream());
assert image != null : "image is null";
images.add(image); images.add(image);
} }
return images; return images;
...@@ -260,7 +261,7 @@ public class ImageChannelsUtils ...@@ -260,7 +261,7 @@ public class ImageChannelsUtils
} }
/** /**
* Transforms the given <var>bufferedImage</var> as * Transforms the given <var>bufferedImage</var> as
*/ */
public static BufferedImage transformToChannel(BufferedImage bufferedImage, public static BufferedImage transformToChannel(BufferedImage bufferedImage,
ColorComponent colorComponent) ColorComponent colorComponent)
......
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