flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - SVG should no longer be deprecated
Date Thu, 23 May 2013 04:33:05 GMT
Updated Branches:
  refs/heads/develop 0e48dac30 -> c69e450f9


SVG should no longer be deprecated


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/c69e450f
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/c69e450f
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/c69e450f

Branch: refs/heads/develop
Commit: c69e450f9e5563610677fd1b14167b8062f7b14e
Parents: 0e48dac
Author: Justin Mclean <jmclean@apache.org>
Authored: Thu May 23 14:32:49 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Thu May 23 14:32:49 2013 +1000

----------------------------------------------------------------------
 .../java/flex2/compiler/media/SVGTranscoder.java   |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c69e450f/modules/compiler/src/java/flex2/compiler/media/SVGTranscoder.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/compiler/media/SVGTranscoder.java b/modules/compiler/src/java/flex2/compiler/media/SVGTranscoder.java
index 40437db..b46d6bc 100644
--- a/modules/compiler/src/java/flex2/compiler/media/SVGTranscoder.java
+++ b/modules/compiler/src/java/flex2/compiler/media/SVGTranscoder.java
@@ -58,15 +58,7 @@ public class SVGTranscoder extends AbstractTranscoder
 	public TranscodingResults doTranscode( PathResolver context, SymbolTable symbolTable,
                                            Map<String, Object> args, String className,
boolean generateSource )
         throws TranscoderException
-	{
-        // Flag a deprecation warning, as SVG has been deprecated since Flex 4.0. We only
issue 
-        // a warning once per compilation.
-        if (!deprecationIssued && showDeprecationWarnings)
-        {
-            ThreadLocalToolkit.log(new Deprecated());
-            deprecationIssued = true;
-        }
-        
+	{        
         TranscodingResults results = new TranscodingResults( resolveSource( context, args
));
         String newName = (String) args.get( NEWNAME );
 
@@ -203,9 +195,4 @@ public class SVGTranscoder extends AbstractTranscoder
 
 		return b;
 	}
-	
-	public static class Deprecated extends CompilerMessage.CompilerWarning
-	{
-		private static final long serialVersionUID = 274970449301472265L;
-	}
 }


Mime
View raw message