Docs: adiciona documentação sobre Text Block (Java 17)#51
Open
Emilly-Pinheiro wants to merge 2 commits intopaulorievrs:masterfrom
Open
Docs: adiciona documentação sobre Text Block (Java 17)#51Emilly-Pinheiro wants to merge 2 commits intopaulorievrs:masterfrom
Emilly-Pinheiro wants to merge 2 commits intopaulorievrs:masterfrom
Conversation
Atualiza o documento sobre Text Blocks no Java 17, incluindo exemplos e explicações sobre a sintaxe e benefícios.
FerroEduardo
requested changes
Nov 11, 2025
Collaborator
FerroEduardo
left a comment
There was a problem hiding this comment.
Conteúdo bem bacana!
Só precisa de alguns ajustes:
- Trocar as aspas "diferenciadas" pela tradicional
" - Adicionar um link para o material no Roadmap/Sumário do README.md
Comment on lines
+8
to
+10
| String textBlock = “”Isso é um Text Block. | ||
| Nele você consegue escrever múltiplas linhas. | ||
| “””; |
Collaborator
There was a problem hiding this comment.
Trocar aspas por "
Suggested change
| String textBlock = “”Isso é um Text Block. | |
| Nele você consegue escrever múltiplas linhas. | |
| “””; | |
| String textBlock = """Isso é um Text Block. | |
| Nele você consegue escrever múltiplas linhas. | |
| """; |
Comment on lines
+27
to
+33
| ```java | ||
| String textBlock = “”” | ||
| Isso é um Text Block | ||
| ele também possui múltiplas linhas, | ||
| mas não é preciso usar concatenação. | ||
| “””; | ||
| ``` |
Collaborator
There was a problem hiding this comment.
Suggested change
| ```java | |
| String textBlock = “”” | |
| Isso é um Text Block | |
| ele também possui múltiplas linhas, | |
| mas não é preciso usar concatenação. | |
| “””; | |
| ``` | |
| ```java | |
| String textBlock = """ | |
| Isso é um Text Block | |
| ele também possui múltiplas linhas, | |
| mas não é preciso usar concatenação. | |
| """; |
Comment on lines
+19
to
+23
| ```java | ||
| String stringTradicional = “Isso é uma string tradicional\\n” + | ||
| “ela possui múltiplas linhas\\n” + | ||
| “e precisa de concatenação.”. | ||
| ``` |
Collaborator
There was a problem hiding this comment.
Suggested change
| ```java | |
| String stringTradicional = “Isso é uma string tradicional\\n” + | |
| “ela possui múltiplas linhas\\n” + | |
| “e precisa de concatenação.”. | |
| ``` | |
| ```java | |
| String stringTradicional = "Isso é uma string tradicional\\n" + | |
| "ela possui múltiplas linhas\\n" + | |
| "e precisa de concatenação."; |
Trocar aspas e adicionar `;`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Este PR contribui para a resolução da issue #40 ao adicionar a documentação sobre a funcionalidade Text Block, introduzida no Java 17.
Estrutura adicionada:
Extras/Novidades-Java/Java17-Text-Blocks.md
Foi incluido a descrição geral da funcionalidade, exemplos comparativos e links de recursos adicionais como foi solicitado na descrição da issue #40.