ImagesPlugin remove stacktrace printing when checking for SVG and GIF dependencies
This commit is contained in:
		
							parent
							
								
									b3e7749c7a
								
							
						
					
					
						commit
						fa01a50ae8
					
				@ -13,7 +13,8 @@ public abstract class GifSupport {
 | 
				
			|||||||
            pl.droidsonroids.gif.GifDrawable.class.getName();
 | 
					            pl.droidsonroids.gif.GifDrawable.class.getName();
 | 
				
			||||||
            result = true;
 | 
					            result = true;
 | 
				
			||||||
        } catch (Throwable t) {
 | 
					        } catch (Throwable t) {
 | 
				
			||||||
            t.printStackTrace();
 | 
					            //  @since 4.1.1-SNAPSHOT do not print stacktrace (it can become noisy)
 | 
				
			||||||
 | 
					//            t.printStackTrace();
 | 
				
			||||||
            result = false;
 | 
					            result = false;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        HAS_GIF = result;
 | 
					        HAS_GIF = result;
 | 
				
			||||||
 | 
				
			|||||||
@ -13,7 +13,8 @@ public abstract class SvgSupport {
 | 
				
			|||||||
            com.caverock.androidsvg.SVG.class.getName();
 | 
					            com.caverock.androidsvg.SVG.class.getName();
 | 
				
			||||||
            result = true;
 | 
					            result = true;
 | 
				
			||||||
        } catch (Throwable t) {
 | 
					        } catch (Throwable t) {
 | 
				
			||||||
            t.printStackTrace();
 | 
					            //  @since 4.1.1-SNAPSHOT do not print stacktrace (it can become noisy)
 | 
				
			||||||
 | 
					//            t.printStackTrace();
 | 
				
			||||||
            result = false;
 | 
					            result = false;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        HAS_SVG = result;
 | 
					        HAS_SVG = result;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user