Repository: incubator-zeppelin Updated Branches: refs/heads/master 498fdd6b2 -> ee1d70494
ZEPPELIN-422 Add missing Apache Header Some files are missing an Apache Header. https://issues.apache.org/jira/browse/ZEPPELIN-422 Author: Lee moon soo <[email protected]> Closes #433 from Leemoonsoo/ZEPPELIN-422 and squashes the following commits: 8abde29 [Lee moon soo] Add Apache Header Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/ee1d7049 Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/ee1d7049 Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/ee1d7049 Branch: refs/heads/master Commit: ee1d70494b8bad7033b7534712e82f1f1486c874 Parents: 498fdd6 Author: Lee moon soo <[email protected]> Authored: Sun Nov 15 15:55:15 2015 +0900 Committer: Lee moon soo <[email protected]> Committed: Mon Nov 16 20:50:28 2015 +0900 ---------------------------------------------------------------------- .../notebook/NoteInterpreterLoaderTest.java | 16 ++++++++++++++++ .../notebook/repo/mock/VFSNotebookRepoMock.java | 20 ++++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/ee1d7049/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NoteInterpreterLoaderTest.java ---------------------------------------------------------------------- diff --git a/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NoteInterpreterLoaderTest.java b/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NoteInterpreterLoaderTest.java index 3463a90..2e1f5e3 100644 --- a/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NoteInterpreterLoaderTest.java +++ b/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/NoteInterpreterLoaderTest.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.zeppelin.notebook; import static org.junit.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/ee1d7049/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/repo/mock/VFSNotebookRepoMock.java ---------------------------------------------------------------------- diff --git a/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/repo/mock/VFSNotebookRepoMock.java b/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/repo/mock/VFSNotebookRepoMock.java index dd4e513..2674cce 100644 --- a/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/repo/mock/VFSNotebookRepoMock.java +++ b/zeppelin-zengine/src/test/java/org/apache/zeppelin/notebook/repo/mock/VFSNotebookRepoMock.java @@ -1,3 +1,19 @@ +/* + * 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 org.apache.zeppelin.notebook.repo.mock; import java.io.File; @@ -11,7 +27,7 @@ import org.apache.zeppelin.conf.ZeppelinConfiguration.ConfVars; import org.apache.zeppelin.notebook.repo.VFSNotebookRepo; public class VFSNotebookRepoMock extends VFSNotebookRepo { - + private static ZeppelinConfiguration modifyNotebookDir(ZeppelinConfiguration conf) { String secNotebookDir = conf.getNotebookDir() + "_secondary"; System.setProperty(ConfVars.ZEPPELIN_NOTEBOOK_DIR.getVarName(), secNotebookDir); @@ -22,5 +38,5 @@ public class VFSNotebookRepoMock extends VFSNotebookRepo { public VFSNotebookRepoMock(ZeppelinConfiguration conf) throws IOException { super(modifyNotebookDir(conf)); } - + }
