Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
882ad41
Bump com.github.spotbugs from 4.7.1 to 4.7.6
dependabot[bot] Sep 21, 2021
ea9752c
save for later
ramsessanchez Sep 30, 2021
26aa6bc
Bump mockito-inline from 4.0.0 to 4.1.0
dependabot[bot] Nov 22, 2021
f79bc35
Bump okhttp from 4.9.2 to 4.9.3
dependabot[bot] Nov 22, 2021
0fa7db1
Bump okhttp from 4.9.2 to 4.9.3
dependabot[bot] Nov 22, 2021
f678337
Bump mockito-inline from 4.0.0 to 4.1.0
dependabot[bot] Nov 22, 2021
f311f82
Merge pull request #371 from microsoftgraph/dependabot/gradle/com.squ…
baywet Nov 22, 2021
ee192a5
Merge pull request #370 from microsoftgraph/dependabot/gradle/org.moc…
baywet Nov 22, 2021
9f53303
Merge pull request #372 from microsoftgraph/dependabot/maven/com.squa…
baywet Nov 22, 2021
f276e08
Merge pull request #373 from microsoftgraph/dependabot/maven/org.mock…
baywet Nov 22, 2021
babcdd9
Bump dawidd6/action-download-artifact from 2.15.0 to 2.16.0
dependabot[bot] Nov 23, 2021
c00f153
Bump actions/cache from 2.1.6 to 2.1.7
dependabot[bot] Nov 23, 2021
6ba9bd7
Merge pull request #374 from microsoftgraph/dependabot/github_actions…
baywet Nov 23, 2021
b98e667
Merge pull request #375 from microsoftgraph/dependabot/github_actions…
baywet Nov 23, 2021
99bc267
Bump azure-core from 1.22.0 to 1.23.0
dependabot[bot] Nov 24, 2021
1c5180f
Bump azure-core from 1.22.0 to 1.23.0
dependabot[bot] Nov 24, 2021
257cc72
Merge pull request #377 from microsoftgraph/dependabot/maven/com.azur…
baywet Nov 24, 2021
3cf7688
Merge pull request #376 from microsoftgraph/dependabot/gradle/com.azu…
baywet Nov 24, 2021
f7ebd84
Bump anton-yurchenko/git-release from 4.1 to 4.2
dependabot[bot] Nov 26, 2021
ffcf787
Merge pull request #378 from microsoftgraph/dependabot/github_actions…
baywet Nov 26, 2021
941d8c5
Bump junit-jupiter-api from 5.8.1 to 5.8.2
dependabot[bot] Nov 29, 2021
a05c69b
Bump junit-jupiter-engine from 5.8.1 to 5.8.2
dependabot[bot] Nov 29, 2021
d074860
Bump junit-jupiter-api from 5.8.1 to 5.8.2
dependabot[bot] Nov 29, 2021
c80dfb9
Bump junit-jupiter-params from 5.8.1 to 5.8.2
dependabot[bot] Nov 29, 2021
fc9d6f1
Merge pull request #379 from microsoftgraph/dependabot/gradle/org.jun…
baywet Nov 29, 2021
b6e3656
Merge pull request #380 from microsoftgraph/dependabot/gradle/org.jun…
baywet Nov 29, 2021
e5e3278
Merge pull request #382 from microsoftgraph/dependabot/maven/org.juni…
baywet Nov 29, 2021
9880c41
Merge pull request #383 from microsoftgraph/dependabot/maven/org.juni…
baywet Nov 29, 2021
0625074
Bump junit-jupiter-params from 5.8.1 to 5.8.2
dependabot[bot] Nov 29, 2021
9cdbf7d
Merge pull request #381 from microsoftgraph/dependabot/gradle/org.jun…
baywet Nov 29, 2021
67ad50c
Bump azure-core from 1.23.0 to 1.23.1
dependabot[bot] Dec 8, 2021
40a56ee
Bump azure-core from 1.23.0 to 1.23.1
dependabot[bot] Dec 8, 2021
df331d9
AdditionalDataManager spotbug suppress
ramsessanchez Dec 8, 2021
581ff2d
BaseCollectionRequest spotbugs suppress
ramsessanchez Dec 8, 2021
7477ecb
BaseClient spotbugs suppress
ramsessanchez Dec 8, 2021
6897b8a
BaseRequest spotbugs suppress
ramsessanchez Dec 8, 2021
2e9efb3
BaseRequest spotbugs suppress
ramsessanchez Dec 8, 2021
0aea326
BaseCollectionPage spotbugs suppress
ramsessanchez Dec 8, 2021
053f5c1
BaseRequestBuilder spotbugs suppress
ramsessanchez Dec 8, 2021
2ad4b86
Build.gradle complier dependencies for spotbugs annotations
ramsessanchez Dec 8, 2021
75a4893
CoreHttpProvider suppress warnings
ramsessanchez Dec 8, 2021
f2e99cd
DefaultSerializer suppress warnings
ramsessanchez Dec 8, 2021
d555130
FallbackTypeAdapterFactory suppress warnings
ramsessanchez Dec 8, 2021
c0d3266
GraphErrorResponse suppress warnings
ramsessanchez Dec 8, 2021
51ee0c9
Back to original line
ramsessanchez Dec 8, 2021
bb908aa
ReferenceRequestBody suppress warnings
ramsessanchez Dec 8, 2021
fef5590
BaseCollectionResponse suppress warnings
ramsessanchez Dec 8, 2021
4860c0a
Partial GrapServiceException suppress
ramsessanchez Dec 8, 2021
d04831e
Merge pull request #387 from microsoftgraph/dependabot/maven/com.azur…
baywet Dec 8, 2021
785c8c6
Merge pull request #386 from microsoftgraph/dependabot/gradle/com.azu…
baywet Dec 8, 2021
34925f8
- upgrades android sdk version to latest and adds missing dependabot …
baywet Dec 15, 2021
5c05c08
- adds dependabot configuration for samples
baywet Dec 15, 2021
9dc8735
Merge pull request #388 from microsoftgraph/feature/android-latest
baywet Dec 15, 2021
6d9d41b
Bump junit from 4.12 to 4.13.2 in /samples/interactiveBrowserSample
dependabot[bot] Dec 15, 2021
611e779
Bump azure-identity from 1.2.5 to 1.4.2 in /samples/deviceCodeSample
dependabot[bot] Dec 15, 2021
224f28d
Bump azure-identity in /samples/interactiveBrowserSample
dependabot[bot] Dec 15, 2021
d84212f
Bump junit from 4.12 to 4.13.2 in /samples/deviceCodeSample
dependabot[bot] Dec 15, 2021
434da45
Merge pull request #391 from microsoftgraph/dependabot/gradle/samples…
baywet Dec 15, 2021
0f481a8
Merge pull request #392 from microsoftgraph/dependabot/gradle/samples…
baywet Dec 15, 2021
8327345
Merge pull request #393 from microsoftgraph/dependabot/gradle/samples…
baywet Dec 15, 2021
ee61a2b
Merge pull request #394 from microsoftgraph/dependabot/gradle/samples…
baywet Dec 15, 2021
548d9bd
Bump mockito-inline from 4.1.0 to 4.2.0
dependabot[bot] Dec 17, 2021
fc313ca
Bump mockito-inline from 4.1.0 to 4.2.0
dependabot[bot] Dec 17, 2021
a5aeefa
Bump mockito-inline from 4.1.0 to 4.2.0 in /android
dependabot[bot] Dec 17, 2021
800c310
Merge pull request #397 from microsoftgraph/dependabot/gradle/android…
baywet Dec 17, 2021
134a9f3
Merge pull request #396 from microsoftgraph/dependabot/maven/org.mock…
baywet Dec 17, 2021
8ffa684
Merge pull request #395 from microsoftgraph/dependabot/gradle/org.moc…
baywet Dec 17, 2021
e451715
Bump gradle-enterprise-gradle-plugin from 3.7.2 to 3.8 in /android
dependabot[bot] Dec 21, 2021
441913c
Merge pull request #398 from microsoftgraph/dependabot/gradle/android…
baywet Dec 21, 2021
885913f
Bump gradle-versions-plugin from 0.39.0 to 0.40.0 in /android
dependabot[bot] Dec 31, 2021
a782374
Merge pull request #399 from microsoftgraph/dependabot/gradle/android…
baywet Dec 31, 2021
7e8cef2
Bump gradle-versions-plugin from 0.40.0 to 0.41.0 in /android
dependabot[bot] Jan 5, 2022
918935e
Merge pull request #400 from microsoftgraph/dependabot/gradle/android…
baywet Jan 5, 2022
d9e73ef
Bump azure-core from 1.23.1 to 1.24.0
dependabot[bot] Jan 7, 2022
cedce86
Bump azure-core from 1.23.1 to 1.24.0
dependabot[bot] Jan 7, 2022
5c5d729
Bump azure-core from 1.23.1 to 1.24.0 in /android
dependabot[bot] Jan 7, 2022
b4890c8
Merge pull request #405 from microsoftgraph/dependabot/gradle/android…
baywet Jan 7, 2022
1b7f77f
Merge pull request #404 from microsoftgraph/dependabot/maven/com.azur…
baywet Jan 7, 2022
756dae6
Merge pull request #403 from microsoftgraph/dependabot/gradle/com.azu…
baywet Jan 7, 2022
9417ef8
Update spotbugs to 5.0.3
ramsessanchez Dec 10, 2021
86eddd5
Compile and TestCompile dependencies
ramsessanchez Dec 16, 2021
6150b3f
DeepCopy methods, needs comments
ramsessanchez Dec 16, 2021
350d141
Test Suppress Warnings
ramsessanchez Dec 16, 2021
fae78ca
Comments
ramsessanchez Dec 17, 2021
6a69bdc
Adjust test, ensure deep copy in getCurrentPage()
ramsessanchez Jan 7, 2022
f2a66d9
Adjust functions to conform with unmodifiable lists
ramsessanchez Jan 7, 2022
def5325
GraphErrorResponseCopy test
ramsessanchez Jan 7, 2022
43f0c9a
Update spotbugs to 5.0.4
ramsessanchez Jan 7, 2022
5c8d30a
Merge branch 'dev' into rsh/spotbugsFixes
ramsessanchez Jan 7, 2022
5b06b4c
Move Dependencies
ramsessanchez Jan 10, 2022
156aaa9
Suppress options return methods.
ramsessanchez Jan 10, 2022
8f7fb71
Instance methods for Copy functions in Errors
ramsessanchez Jan 10, 2022
b81402f
Apply suggestions from code review
baywet Jan 10, 2022
c647edf
- adds non-null import
baywet Jan 10, 2022
36de355
Merge pull request #406 from microsoftgraph/rsh/spotbugsFixes
baywet Jan 10, 2022
23c17f3
Bump spotbugs-annotations from 4.5.1 to 4.5.3
dependabot[bot] Jan 10, 2022
68817ab
Update gradle/dependencies.gradle
baywet Jan 10, 2022
5e46804
Merge pull request #407 from microsoftgraph/dependabot/gradle/com.git…
baywet Jan 10, 2022
fa4b1f9
Bump azure-core from 1.24.0 to 1.24.1
dependabot[bot] Jan 12, 2022
2caf2b8
Bump azure-core from 1.24.0 to 1.24.1
dependabot[bot] Jan 12, 2022
a4856b6
Bump azure-core from 1.24.0 to 1.24.1 in /android
dependabot[bot] Jan 12, 2022
9279bc3
Bump azure-identity from 1.4.2 to 1.4.3 in /samples/deviceCodeSample
dependabot[bot] Jan 12, 2022
fb0650c
Bump azure-identity in /samples/interactiveBrowserSample
dependabot[bot] Jan 12, 2022
d6a5ebc
Merge pull request #408 from microsoftgraph/dependabot/gradle/com.azu…
baywet Jan 12, 2022
3de7a8b
Merge pull request #409 from microsoftgraph/dependabot/maven/com.azur…
baywet Jan 12, 2022
ecbb783
Merge pull request #410 from microsoftgraph/dependabot/gradle/android…
baywet Jan 12, 2022
fe3e9fd
Merge pull request #411 from microsoftgraph/dependabot/gradle/samples…
baywet Jan 12, 2022
06132db
Merge pull request #412 from microsoftgraph/dependabot/gradle/samples…
baywet Jan 12, 2022
59f409a
Bump gradle-enterprise-gradle-plugin from 3.8 to 3.8.1 in /android
dependabot[bot] Jan 13, 2022
97290f5
Merge pull request #413 from microsoftgraph/dependabot/gradle/android…
baywet Jan 13, 2022
5193ca2
Bump com.github.spotbugs from 5.0.4 to 5.0.5
dependabot[bot] Jan 21, 2022
3123b34
Bump com.github.spotbugs in /samples/interactiveBrowserSample
dependabot[bot] Jan 21, 2022
bfd08ed
Bump com.github.spotbugs in /samples/deviceCodeSample
dependabot[bot] Jan 21, 2022
19a093d
Merge pull request #418 from microsoftgraph/dependabot/gradle/samples…
baywet Jan 21, 2022
590f790
Merge pull request #417 from microsoftgraph/dependabot/gradle/samples…
baywet Jan 21, 2022
84a3677
Merge pull request #416 from microsoftgraph/dependabot/gradle/com.git…
baywet Jan 21, 2022
960cf11
Bump mockito-inline from 4.2.0 to 4.3.0
dependabot[bot] Jan 25, 2022
8caa197
Bump mockito-inline from 4.2.0 to 4.3.0
dependabot[bot] Jan 25, 2022
b9363a4
Bump mockito-inline from 4.2.0 to 4.3.0 in /android
dependabot[bot] Jan 25, 2022
cc8328d
Merge pull request #421 from microsoftgraph/dependabot/gradle/android…
baywet Jan 25, 2022
cd8ceec
Merge pull request #420 from microsoftgraph/dependabot/maven/org.mock…
baywet Jan 25, 2022
fbd5218
Merge pull request #419 from microsoftgraph/dependabot/gradle/org.moc…
baywet Jan 25, 2022
a68efed
Bump gradle from 7.0.4 to 7.1.0 in /android
dependabot[bot] Jan 26, 2022
39968f5
Merge pull request #425 from microsoftgraph/dependabot/gradle/android…
baywet Jan 26, 2022
205c064
Bump mockito-inline from 4.3.0 to 4.3.1
dependabot[bot] Jan 26, 2022
875a870
Bump mockito-inline from 4.3.0 to 4.3.1
dependabot[bot] Jan 26, 2022
e463119
Bump mockito-inline from 4.3.0 to 4.3.1 in /android
dependabot[bot] Jan 26, 2022
770b166
Merge pull request #423 from microsoftgraph/dependabot/maven/org.mock…
baywet Jan 26, 2022
47b09a1
Merge pull request #424 from microsoftgraph/dependabot/gradle/android…
baywet Jan 26, 2022
58a3586
Merge pull request #422 from microsoftgraph/dependabot/gradle/org.moc…
baywet Jan 26, 2022
5b650e2
- upgrades gradle wrappers to latest
baywet Feb 2, 2022
99c185e
Merge pull request #426 from microsoftgraph/feature/gradle-wrapper
baywet Feb 3, 2022
6389428
Bump dawidd6/action-download-artifact from 2.16.0 to 2.17.0
dependabot[bot] Feb 3, 2022
2f1cbc5
Merge pull request #427 from microsoftgraph/dependabot/github_actions…
baywet Feb 3, 2022
25f75fe
Bump gradle-versions-plugin from 0.41.0 to 0.42.0 in /android
dependabot[bot] Feb 4, 2022
c5cae37
Remove lock on https 1.1 protocol
ramsessanchez Feb 4, 2022
ad482bc
Merge pull request #428 from microsoftgraph/dependabot/gradle/android…
baywet Feb 4, 2022
d4901de
Update CHANGELOG.md
ramsessanchez Feb 4, 2022
50a73b6
Update docs to represent update to 2.0.11
ramsessanchez Feb 4, 2022
dbb9fbd
Merge branch 'rsh/http2' of https://github.com/microsoftgraph/msgraph…
ramsessanchez Feb 4, 2022
68c8cce
- removes unused imports
baywet Feb 4, 2022
39261cd
Merge pull request #429 from microsoftgraph/rsh/http2
baywet Feb 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ updates:
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: gradle
directory: "/android"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: gradle
directory: "/samples/deviceCodeSample"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: gradle
directory: "/samples/interactiveBrowserSample"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: maven
directory: "/"
schedule:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/git-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2.4.0
- name: Download Build Artifact
uses: dawidd6/action-download-artifact@v2.15.0
uses: dawidd6/action-download-artifact@v2.17.0
with:
workflow: build-and-publish.yml
workflow_conclusion: success
Expand All @@ -21,7 +21,7 @@ jobs:
name: drop
path: drop
- name: Github Release
uses: anton-yurchenko/git-release@v4.1
uses: anton-yurchenko/git-release@v4.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
DRAFT_RELEASE: "false"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
with:
java-version: 11
- name: Cache SonarCloud packages
uses: actions/cache@v2.1.6
uses: actions/cache@v2.1.7
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v2.1.6
uses: actions/cache@v2.1.7
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [2.0.11] - 2022-02-04

### Added

- Removing lock on Http protocol 1.1 in preparation for Graph service support of Http2 #429

### Changed

- Bumps Azure Core to 1.24.1 #408, #409, #410
- Bumps mockito-inline to 4.3.1 #422, #423, #424
- Bumps okhttp to 4.9.3 #371, #372
- Bumps junit to 4.13.2 #391, #394
- Bumps junit-jupiter-api to 5.8.2 #379, #382
- Bumps junit-jupiter-egine to 5.8.2 #380
- Bumps junit-jupiter-params to 5.8.2 #381, #383
- Bumps gradle wrappers to 7.3.3 #426
- Bumps gradle-versions-plugin to 0.42.0 in /android #428
- Bumps gradle from 7.1.0 in /android #425
- Bumps gradle-enterprise-gradle-plugin 3.8.1 in /android #413
- Bumps dawidd6/action-download-artifact to 2.17.0 #427
- Bumps com.github.spotbugs to 5.0.5 #416
- Bumps spotbugs-annotations to 4.5.3 #407
- Bumps azure-identity to 1.4.3 #411, #412
- Bumps anton-yurchenko/git-release to 4.2 #378
- Bumps actions/cache from to 2.1.7 #375

## [2.0.10] - 2021-11-16

### Added
Expand Down
10 changes: 5 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.6"
classpath "com.android.tools.build:gradle:4.1.3"
classpath "com.github.ben-manes:gradle-versions-plugin:0.36.0"
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.8.1"
classpath "com.android.tools.build:gradle:7.1.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.42.0"
}
}

Expand All @@ -23,13 +23,13 @@ apply plugin: "com.android.library"
apply plugin: "com.github.ben-manes.versions"

android {
compileSdkVersion 31
compileSdkVersion 32

defaultConfig {
versionCode 1
versionName "1.0"
minSdkVersion 26
targetSdkVersion 31
targetSdkVersion 32
}

buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
id 'maven-publish'
id 'signing'
id 'jacoco'
id 'com.github.spotbugs' version '4.7.1'
id 'com.github.spotbugs' version '5.0.5'
id "org.sonarqube" version "3.3"
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph-core
mavenMajorVersion = 2
mavenMinorVersion = 0
mavenPatchVersion = 10
mavenPatchVersion = 11
mavenArtifactSuffix =

#These values are used to run functional tests
Expand Down
17 changes: 11 additions & 6 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
dependencies {
// Use JUnit test framework
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
testImplementation 'org.mockito:mockito-inline:4.0.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.mockito:mockito-inline:4.3.1'

api 'com.squareup.okhttp3:okhttp:4.9.2'
api 'com.squareup.okhttp3:okhttp:4.9.3'

implementation 'com.google.guava:guava:31.0.1-jre'

implementation 'com.google.code.gson:gson:2.8.9'
api 'com.azure:azure-core:1.22.0'
api 'com.azure:azure-core:1.24.1'

compileOnly 'net.jcip:jcip-annotations:1.0'
compileOnly 'com.github.spotbugs:spotbugs-annotations:4.5.3'
testCompileOnly 'net.jcip:jcip-annotations:1.0'
testCompileOnly 'com.github.spotbugs:spotbugs-annotations:4.5.3'
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-core</artifactId>
<version>2.0.10</version>
<version>2.0.11</version>
<packaging>pom</packaging>

<properties>
Expand All @@ -30,29 +30,29 @@
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.9.2</version>
<version>4.9.3</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.22.0</version>
<version>1.24.1</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.8.1</version>
<version>5.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.8.1</version>
<version>5.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>4.0.0</version>
<version>4.3.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repositories {

dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph-core:2.0.10'
implementation 'com.microsoft.graph:microsoft-graph-core:2.0.11'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
implementation 'com.azure:azure-identity:1.3.1'
}
Expand All @@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-core</artifactId>
<version>2.0.10</version>
<version>2.0.11</version>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions samples/deviceCodeSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repositories {
}

dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
implementation project(':coreLibrary')
implementation 'com.azure:azure-identity:1.2.5'
implementation 'com.azure:azure-identity:1.4.3'
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions samples/interactiveBrowserSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repositories {
}

dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
implementation project(':coreLibrary')
implementation 'com.azure:azure-identity:1.2.5'
implementation 'com.azure:azure-identity:1.4.3'
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
6 changes: 5 additions & 1 deletion src/main/java/com/microsoft/graph/core/BaseClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

import javax.annotation.Nonnull;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import okhttp3.OkHttpClient;
import okhttp3.Request;

Expand Down Expand Up @@ -75,7 +76,8 @@ public String getServiceRoot() {

@Override
public void setServiceRoot(@Nonnull final String value) {
endpoint = Objects.requireNonNull(value, "value parameter cannot be null");
Objects.requireNonNull(value, "value parameter cannot be null");
endpoint = String.valueOf(value);
}

/**
Expand Down Expand Up @@ -225,6 +227,7 @@ public Builder<httpClientType, nativeRequestType> httpProvider(@Nonnull final IH
* @return the instance of this builder
*/
@Nonnull
@SuppressFBWarnings
public Builder<httpClientType, nativeRequestType> logger(@Nonnull final ILogger logger) {
Objects.requireNonNull(logger, "parameter logger cannot be null");
this.logger = logger;
Expand Down Expand Up @@ -321,6 +324,7 @@ public IHttpProvider<nativeRequestType> getHttpProvider() {
* @return The logger
*/
@Nullable
@SuppressFBWarnings
public ILogger getLogger() {
return logger;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.microsoft.graph.serializer.AdditionalDataManager;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

import java.util.ArrayList;
import java.util.Collections;
Expand Down Expand Up @@ -105,7 +106,7 @@ public T2 getNextPage() {
*/
@Nonnull
public List<T> getCurrentPage() {
return pageContents;
return new ArrayList<>(pageContents);
}

/**
Expand All @@ -119,6 +120,7 @@ public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final J

@Override
@Nullable
@SuppressFBWarnings
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import com.microsoft.graph.options.HeaderOption;
import com.microsoft.graph.options.Option;
import com.microsoft.graph.options.QueryOption;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

/**
* A request against a collection
Expand Down Expand Up @@ -215,7 +216,7 @@ public List<Option> getOptions() {
*/
public void addQueryOption(@Nonnull final QueryOption option) {
Objects.requireNonNull(option, "parameter option cannot be null");
baseRequest.getQueryOptions().add(option);
baseRequest.addQueryOption(option);
}

/**
Expand Down Expand Up @@ -301,7 +302,7 @@ protected void addCountOption(final boolean value) {
*/
public void addFunctionOption(@Nonnull final FunctionOption option) {
Objects.requireNonNull(option, "parameter option cannot be null");
baseRequest.getFunctionOptions().add(option);
baseRequest.addFunctionOption(option);
}

/**
Expand All @@ -310,6 +311,7 @@ public void addFunctionOption(@Nonnull final FunctionOption option) {
* @return the base request for this collection request
*/
@Nonnull
@SuppressFBWarnings
public BaseRequest<T2> getBaseRequest() {
return baseRequest;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.AdditionalDataManager;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

/**
* The basic collection response implementation
Expand Down Expand Up @@ -56,6 +57,7 @@ public String nextLink() {

@Override
@Nonnull
@SuppressFBWarnings
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}
Expand Down
Loading