Skip to content

Commit fd35bc1

Browse files
authored
Remove year from the license header (#675)
1 parent ab0288f commit fd35bc1

File tree

165 files changed

+300
-309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+300
-309
lines changed

examples/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

gulpfile.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/v1/driver.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.
@@ -279,7 +279,7 @@ class Driver {
279279
} finally {
280280
// then close all connections driver has ever created
281281
// it is needed to close connections that are active right now and are acquired from the pool
282-
for (let connectionId in this._openConnections) {
282+
for (const connectionId in this._openConnections) {
283283
if (this._openConnections.hasOwnProperty(connectionId)) {
284284
this._openConnections[connectionId].close()
285285
}

src/v1/error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/v1/graph-types.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.
@@ -38,7 +38,7 @@ class Node {
3838
for (let i = 0; i < this.labels.length; i++) {
3939
s += ':' + this.labels[i]
4040
}
41-
let keys = Object.keys(this.properties)
41+
const keys = Object.keys(this.properties)
4242
if (keys.length > 0) {
4343
s += ' {'
4444
for (let i = 0; i < keys.length; i++) {
@@ -74,7 +74,7 @@ class Relationship {
7474

7575
toString () {
7676
let s = '(' + this.start + ')-[:' + this.type
77-
let keys = Object.keys(this.properties)
77+
const keys = Object.keys(this.properties)
7878
if (keys.length > 0) {
7979
s += ' {'
8080
for (let i = 0; i < keys.length; i++) {
@@ -123,7 +123,7 @@ class UnboundRelationship {
123123

124124
toString () {
125125
let s = '-[:' + this.type
126-
let keys = Object.keys(this.properties)
126+
const keys = Object.keys(this.properties)
127127
if (keys.length > 0) {
128128
s += ' {'
129129
for (let i = 0; i < keys.length; i++) {

src/v1/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/v1/integer.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.
@@ -76,6 +76,7 @@ class Integer {
7676
this.lessThanOrEqual(Integer.MAX_SAFE_VALUE)
7777
)
7878
}
79+
7980
/**
8081
* Converts the Integer to an exact javascript Number, assuming it is a 32 bit integer.
8182
* @returns {number}
@@ -695,7 +696,7 @@ Object.defineProperty(Integer.prototype, '__isInteger__', {
695696
* @expose
696697
*/
697698
Integer.isInteger = function (obj) {
698-
return (obj && obj['__isInteger__']) === true
699+
return (obj && obj.__isInteger__) === true
699700
}
700701

701702
/**
@@ -975,31 +976,31 @@ Integer.MAX_SAFE_VALUE = Integer.fromBits(0xffffffff | 0, 0x1fffff | 0)
975976
* @param {Mixed} value - The value to use.
976977
* @return {Integer} - An object of type Integer.
977978
*/
978-
let int = Integer.fromValue
979+
const int = Integer.fromValue
979980

980981
/**
981982
* Check if a variable is of Integer type.
982983
* @access public
983984
* @param {Mixed} value - The variable to check.
984985
* @return {Boolean} - Is it of the Integer type?
985986
*/
986-
let isInt = Integer.isInteger
987+
const isInt = Integer.isInteger
987988

988989
/**
989990
* Check if a variable can be safely converted to a number
990991
* @access public
991992
* @param {Mixed} value - The variable to check
992993
* @return {Boolean} - true if it is safe to call toNumber on variable otherwise false
993994
*/
994-
let inSafeRange = Integer.inSafeRange
995+
const inSafeRange = Integer.inSafeRange
995996

996997
/**
997998
* Converts a variable to a number
998999
* @access public
9991000
* @param {Mixed} value - The variable to convert
10001001
* @return {number} - the variable as a number
10011002
*/
1002-
let toNumber = Integer.toNumber
1003+
const toNumber = Integer.toNumber
10031004

10041005
/**
10051006
* Converts the integer to a string representation
@@ -1008,7 +1009,7 @@ let toNumber = Integer.toNumber
10081009
* @param {number} radix - radix to use in string conversion, defaults to 10
10091010
* @return {String} - returns a string representation of the integer
10101011
*/
1011-
let toString = Integer.toString
1012+
const toString = Integer.toString
10121013

10131014
export { int, isInt, inSafeRange, toNumber, toString }
10141015

src/v1/internal/bolt-protocol-v1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/v1/internal/bolt-protocol-v2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2002-2019 "Neo4j,"
2+
* Copyright (c) "Neo4j"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

0 commit comments

Comments
 (0)