Skip to content

Commit 7aafebe

Browse files
authored
Merge pull request #722 from javaistic:next
Refactor and enhance website with Java tutorials for Javaisitc v2
2 parents 0d82bfb + b0fd184 commit 7aafebe

File tree

197 files changed

+2113
-7566
lines changed

Some content is hidden

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

197 files changed

+2113
-7566
lines changed

.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.editorconfig

Lines changed: 0 additions & 12 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": ["next", "next/core-web-vitals"]
2+
"extends": ["next/core-web-vitals", "next/typescript"]
33
}

.gitignore

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
1+
# deps
42
/node_modules
5-
/.pnp
6-
.pnp.js
73

8-
# testing
9-
/coverage
4+
# generated content
5+
.contentlayer
6+
.content-collections
7+
.source
108

11-
# next.js
9+
# test & build
10+
/coverage
1211
/.next/
1312
/out/
14-
15-
# production
1613
/build
14+
*.tsbuildinfo
1715

1816
# misc
1917
.DS_Store
20-
21-
# debug
18+
*.pem
19+
/.pnp
20+
.pnp.js
2221
npm-debug.log*
2322
yarn-debug.log*
2423
yarn-error.log*
2524

26-
# local env files
27-
.env.local
28-
.env.development.local
29-
.env.test.local
30-
.env.production.local
31-
25+
# others
26+
.env*.local
3227
.vercel
28+
next-env.d.ts

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

bun.lock

Lines changed: 1354 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bun.lockb

-373 KB
Binary file not shown.
File renamed without changes.
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: In this tutorial, you will learn simple ways to display output to
44

55
---
66

7-
import { TipInfo } from '@/components/Tip'
87

98
## Java Output
109
In Java, you can simply use
@@ -173,11 +172,9 @@ In the above example, we have created an object named `input` of the `Scanner` c
173172

174173
Similarly, we can use `nextLong()`, `nextFloat()`, `nextDouble()`, and `next()` methods to get `long`, `float`, `double`, and `string` input respectively from the user.
175174

176-
<TipInfo>
177-
175+
<Callout>
178176
**Note:** We have used the `close()` method to close the object. It is recommended to close the scanner object once the input is taken.
179-
180-
</TipInfo>
177+
</Callout>
181178

182179
### Example: Get float, double and String Input
183180
```java

0 commit comments

Comments
 (0)