remove the extra ? in the license header (#500)

This commit is contained in:
Guanqun Lu
2018-08-06 19:27:14 +08:00
committed by Benjamin Kampmann
parent 11b9496a6a
commit a19087eb89
18 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Predefined chains. //! Predefined chains.
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.? // along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use bytes::{Bytes, BytesMut}; use bytes::{Bytes, BytesMut};
use ProtocolId; use ProtocolId;
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.? // along with Substrate. If not, see <http://www.gnu.org/licenses/>.
#![recursion_limit="128"] #![recursion_limit="128"]
#![type_length_limit = "268435456"] #![type_length_limit = "268435456"]
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.? // along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use bytes::Bytes; use bytes::Bytes;
use fnv::{FnvHashMap, FnvHashSet}; use fnv::{FnvHashMap, FnvHashSet};
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.? // along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use bytes::Bytes; use bytes::Bytes;
use {Error, ErrorKind, NetworkConfiguration, NetworkProtocolHandler}; use {Error, ErrorKind, NetworkConfiguration, NetworkProtocolHandler};
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.? // along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use futures::{Async, future, Future, Poll, stream, Stream, sync::mpsc}; use futures::{Async, future, Future, Poll, stream, Stream, sync::mpsc};
use std::io::{Error as IoError, ErrorKind as IoErrorKind}; use std::io::{Error as IoError, ErrorKind as IoErrorKind};
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.? // along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use libp2p::{self, Transport, mplex, secio, yamux}; use libp2p::{self, Transport, mplex, secio, yamux};
use libp2p::core::{MuxedTransport, either, upgrade}; use libp2p::core::{MuxedTransport, either, upgrade};
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
use std::mem; use std::mem;
use std::cmp; use std::cmp;
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
pub use service::Roles; pub use service::Roles;
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Utility for gossip of network messages between authorities. //! Utility for gossip of network messages between authorities.
//! Handles chain-specific and standard BFT messages. //! Handles chain-specific and standard BFT messages.
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Polkadot service possible errors. //! Polkadot service possible errors.
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! Blocks import queue. //! Blocks import queue.
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
use network_libp2p::{NetworkContext, Severity, NodeIndex, SessionInfo}; use network_libp2p::{NetworkContext, Severity, NodeIndex, SessionInfo};
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
#![warn(unused_extern_crates)] #![warn(unused_extern_crates)]
#![warn(missing_docs)] #![warn(missing_docs)]
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! On-demand requests service. //! On-demand requests service.
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
use std::collections::{HashMap, HashSet}; use std::collections::{HashMap, HashSet};
use std::{mem, cmp}; use std::{mem, cmp};
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.? // along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
use std::collections::HashMap; use std::collections::HashMap;
use std::sync::Arc; use std::sync::Arc;
+1 -1
View File
@@ -12,7 +12,7 @@
// GNU General Public License for more details. // GNU General Public License for more details.
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.? // along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Service configuration. //! Service configuration.