Skip to content

Commit d1f60e3

Browse files
committed
Fix default encoding in CONTRIBUTING documentation
Sources should be using UTF-8. Issue: SPR-14674
1 parent bebaee9 commit d1f60e3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

CONTRIBUTING.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,14 @@ present in the framework.
7474
1. Preserve existing formatting; i.e. do not reformat code for its own sake
7575
1. Search the codebase using `git grep` and other tools to discover common
7676
naming conventions, etc.
77-
1. Latin-1 (ISO-8859-1) encoding for Java sources; use `native2ascii` to convert
78-
if necessary
77+
1. UTF-8 encoding for Java sources
7978

8079

8180
### Add Apache license header to all new classes
8281

8382
```java
8483
/*
85-
* Copyright 2002-2015 the original author or authors.
84+
* Copyright 2002-2016 the original author or authors.
8685
*
8786
* Licensed under the Apache License, Version 2.0 (the "License");
8887
* you may not use this file except in compliance with the License.
@@ -110,11 +109,11 @@ modified a file in 2015 whose header still reads:
110109
* Copyright 2002-2011 the original author or authors.
111110
```
112111
113-
Then be sure to update it to 2015 accordingly:
112+
Then be sure to update it to 2016 accordingly:
114113
115114
```java
116115
/*
117-
* Copyright 2002-2015 the original author or authors.
116+
* Copyright 2002-2016 the original author or authors.
118117
```
119118
120119
### Use @since tags for newly-added public API types and methods

0 commit comments

Comments
 (0)