Repository: incubator-zeppelin Updated Branches: refs/heads/master ac7626203 -> ed0cdf773
As an author of code https://groups.google.com/forum/#!msg/selenium-d⦠â¦evelopers/PTR_j4xLVRM/k2yVq01Fa7oJ Based on discussion: http://markmail.org/thread/inhp3syk244god3t#query:+page:1+mid:o2gq4kjro7vqpqb3+state:results Add apache header to class. https://issues.apache.org/jira/browse/ZEPPELIN-180 Author: vasilievip <[email protected]> Closes #163 from vasilievip/branch-0.5 and squashes the following commits: bfaea29 [vasilievip] As an author of code https://groups.google.com/forum/#!msg/selenium-developers/PTR_j4xLVRM/k2yVq01Fa7oJ (cherry picked from commit cd09fbbe3ab38b41dad7f8301b6e6f3a9b9709f1) Signed-off-by: Lee moon soo <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/ed0cdf77 Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/ed0cdf77 Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/ed0cdf77 Branch: refs/heads/master Commit: ed0cdf77347daa805519a2672f62c02d9eb5c22a Parents: ac76262 Author: vasilievip <[email protected]> Authored: Wed Jul 22 21:36:08 2015 +0300 Committer: Lee moon soo <[email protected]> Committed: Mon Jul 27 11:17:04 2015 +0900 ---------------------------------------------------------------------- .../ScreenCaptureHtmlUnitDriver.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/ed0cdf77/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java ---------------------------------------------------------------------- diff --git a/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java b/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java index ae83bee..e2c633b 100644 --- a/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java +++ b/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.webautomation; import java.io.ByteArrayOutputStream; @@ -64,7 +81,6 @@ public class ScreenCaptureHtmlUnitDriver extends HtmlUnitDriver implements Takes var.setCapability(CapabilityType.TAKES_SCREENSHOT, true); } - //@Override @Override @SuppressWarnings("unchecked") public <X> X getScreenshotAs(OutputType<X> target) throws WebDriverException {
