You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/01/04 06:02:52 UTC
[royale-compiler] 04/05: suppress warning
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit 96123266ff2c986d2191c72bcaebfbb9220d8273
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Jan 3 21:57:01 2019 -0800
suppress warning
---
.../org/apache/royale/compiler/internal/parsing/as/OffsetLookup.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/compiler-common/src/main/java/org/apache/royale/compiler/internal/parsing/as/OffsetLookup.java b/compiler-common/src/main/java/org/apache/royale/compiler/internal/parsing/as/OffsetLookup.java
index 585b86e..26b7699 100644
--- a/compiler-common/src/main/java/org/apache/royale/compiler/internal/parsing/as/OffsetLookup.java
+++ b/compiler-common/src/main/java/org/apache/royale/compiler/internal/parsing/as/OffsetLookup.java
@@ -88,7 +88,8 @@ public class OffsetLookup
* @param absoluteOffset absolute offset
* @return The {@code OffsetCue} that applies to the given absolute offset.
*/
- private OffsetCue findOffsetCue(int absoluteOffset)
+ @SuppressWarnings("deprecation")
+ private OffsetCue findOffsetCue(int absoluteOffset)
{
if (offsetCueList.isEmpty() || absoluteOffset < 0)
return null;