Storm-616: removing duplicate license and fixing typos.
Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/396bc619 Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/396bc619 Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/396bc619 Branch: refs/heads/master Commit: 396bc61992e1c41407b9ed92c02260d467a5ea8e Parents: ee37870 Author: Parth Brahmbhatt <[email protected]> Authored: Wed Jan 14 11:21:26 2015 -0800 Committer: Parth Brahmbhatt <[email protected]> Committed: Wed Jan 14 11:21:26 2015 -0800 ---------------------------------------------------------------------- external/storm-jdbc/README.md | 2 +- .../java/org/apache/storm/jdbc/bolt/JdbcBolt.java | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/396bc619/external/storm-jdbc/README.md ---------------------------------------------------------------------- diff --git a/external/storm-jdbc/README.md b/external/storm-jdbc/README.md index bb43687..79a0d61 100644 --- a/external/storm-jdbc/README.md +++ b/external/storm-jdbc/README.md @@ -4,7 +4,7 @@ to either insert storm tuples in a database table or to execute select queries a in a storm topology. This code uses HikariCP for connection pooling. See http://brettwooldridge.github.io/HikariCP. ## Inserting into a database. -The bolt and trindet state included in this package for inserting data into a database tables are tied to a single table. +The bolt and trident state included in this package for inserting data into a database tables are tied to a single table. The main API for inserting data in a table using JDBC is the `org.apache.storm.jdbc.mapper.JdbcMapper` interface: ```java http://git-wip-us.apache.org/repos/asf/storm/blob/396bc619/external/storm-jdbc/src/main/java/org/apache/storm/jdbc/bolt/JdbcBolt.java ---------------------------------------------------------------------- diff --git a/external/storm-jdbc/src/main/java/org/apache/storm/jdbc/bolt/JdbcBolt.java b/external/storm-jdbc/src/main/java/org/apache/storm/jdbc/bolt/JdbcBolt.java index d4ddfcb..4c63a09 100644 --- a/external/storm-jdbc/src/main/java/org/apache/storm/jdbc/bolt/JdbcBolt.java +++ b/external/storm-jdbc/src/main/java/org/apache/storm/jdbc/bolt/JdbcBolt.java @@ -16,23 +16,6 @@ * limitations under the License. */ package org.apache.storm.jdbc.bolt; -/** - * 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. - */ import backtype.storm.topology.OutputFieldsDeclarer; import backtype.storm.tuple.Tuple; import org.apache.storm.jdbc.common.Column;
