Skip to content

Commit b74ae32

Browse files
authored
Merge pull request #519 from technige/4.0-copyright-2020
Updated copyright to 2020
2 parents a42db01 + 02263ec commit b74ae32

File tree

184 files changed

+241
-241
lines changed

Some content is hidden

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

184 files changed

+241
-241
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) 2002-2020 "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) 2002-2020 "Neo4j,"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/docs.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) 2002-2020 "Neo4j,"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/driver.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) 2002-2020 "Neo4j,"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/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) 2002-2020 "Neo4j,"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/graph-types.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) 2002-2020 "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) 2002-2020 "Neo4j,"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/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) 2002-2020 "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}
@@ -696,7 +697,7 @@ Object.defineProperty(Integer.prototype, '__isInteger__', {
696697
* @expose
697698
*/
698699
Integer.isInteger = function (obj) {
699-
return (obj && obj['__isInteger__']) === true
700+
return (obj && obj.__isInteger__) === true
700701
}
701702

702703
/**
@@ -976,31 +977,31 @@ Integer.MAX_SAFE_VALUE = Integer.fromBits(0xffffffff | 0, 0x1fffff | 0)
976977
* @param {Mixed} value - The value to use.
977978
* @return {Integer} - An object of type Integer.
978979
*/
979-
let int = Integer.fromValue
980+
const int = Integer.fromValue
980981

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

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

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

10051006
/**
10061007
* Converts the integer to a string representation
@@ -1009,7 +1010,7 @@ let toNumber = Integer.toNumber
10091010
* @param {number} radix - radix to use in string conversion, defaults to 10
10101011
* @return {string} - returns a string representation of the integer
10111012
*/
1012-
let toString = Integer.toString
1013+
const toString = Integer.toString
10131014

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

src/internal/bolt-protocol-util.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) 2002-2020 "Neo4j,"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

src/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) 2002-2020 "Neo4j,"
33
* Neo4j Sweden AB [http://neo4j.com]
44
*
55
* This file is part of Neo4j.

0 commit comments

Comments
 (0)