changeset 11227:307eddc51b7e

8221941: Wrong package declaration for WCTextRunImpl.java in web module Reviewed-by: kcr
author arajkumar
date Fri, 05 Apr 2019 11:46:24 +0530
parents 51453f061eb7
children 32fa6bb5922a
files modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCFontImpl.java modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCTextRunImpl.java
diffstat 2 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCFontImpl.java	Thu Apr 04 13:43:50 2019 +0200
+++ b/modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCFontImpl.java	Fri Apr 05 11:46:24 2019 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -32,19 +32,19 @@
 import com.sun.javafx.font.PGFont;
 import com.sun.javafx.geom.BaseBounds;
 import com.sun.javafx.geom.transform.BaseTransform;
+import com.sun.javafx.logging.PlatformLogger.Level;
 import com.sun.javafx.logging.PlatformLogger;
-import com.sun.javafx.logging.PlatformLogger.Level;
 import com.sun.javafx.scene.text.GlyphList;
 import com.sun.javafx.scene.text.TextLayout;
 import com.sun.javafx.text.TextRun;
-import static com.sun.javafx.webkit.prism.TextUtilities.getLayoutWidth;
-import static com.sun.javafx.webkit.prism.TextUtilities.getLayoutBounds;
+import com.sun.javafx.webkit.prism.WCTextRunImpl;
 import com.sun.prism.GraphicsPipeline;
 import com.sun.webkit.graphics.WCFont;
 import com.sun.webkit.graphics.WCTextRun;
-import com.sun.webkit.graphics.WCTextRunImpl;
 import java.util.Arrays;
 import java.util.HashMap;
+import static com.sun.javafx.webkit.prism.TextUtilities.getLayoutBounds;
+import static com.sun.javafx.webkit.prism.TextUtilities.getLayoutWidth;
 
 final class WCFontImpl extends WCFont {
     private final static PlatformLogger log =
--- a/modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCTextRunImpl.java	Thu Apr 04 13:43:50 2019 +0200
+++ b/modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCTextRunImpl.java	Fri Apr 05 11:46:24 2019 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -23,10 +23,11 @@
  * questions.
  */
 
-package com.sun.webkit.graphics;
+package com.sun.javafx.webkit.prism;
 
 import com.sun.javafx.scene.text.GlyphList;
 import com.sun.javafx.text.TextRun;
+import com.sun.webkit.graphics.WCTextRun;
 
 public final class WCTextRunImpl implements WCTextRun {
     private final TextRun run;